git-svn-id: svn+ssh://asterix.ieap.uni-kiel.de/home/subversion/stephan/solo/eda/cospi/host@8263 bc5caf13-1734-44f8-af43-603852e9ee25
14 lines
460 B
Python
Executable file
14 lines
460 B
Python
Executable file
#! /usr/bin/python3
|
|
from distutils.core import setup, Extension
|
|
|
|
m_spidev = Extension('spidev',
|
|
sources = ['spidev_py.c'],
|
|
define_macros = [("DEBUG", "1")],
|
|
extra_compile_args=['-std=c99', '-Wno-parentheses', '-Wno-pointer-to-int-cast'],
|
|
)
|
|
|
|
setup (name = 'spidev',
|
|
version = '1.1',
|
|
description = 'spidev transfers',
|
|
ext_modules = [m_spidev],
|
|
)
|