You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
537 B
20 lines
537 B
#!/usr/bin/env python
|
|
|
|
from distutils.core import setup, Extension
|
|
|
|
setup( name="smbus",
|
|
version="1.1",
|
|
description="Python bindings for Linux SMBus access through i2c-dev",
|
|
author="Mark M. Hoffman",
|
|
author_email="mhoffman@lightlink.com",
|
|
maintainer="Mark M. Hoffman",
|
|
maintainer_email="linux-i2c@vger.kernel.org",
|
|
license="GPLv2",
|
|
url="https://i2c.wiki.kernel.org/index.php/I2C_Tools",
|
|
ext_modules=[Extension(
|
|
"smbus",
|
|
["smbusmodule.c"],
|
|
extra_compile_args=['-I../include'],
|
|
extra_link_args=['-L../lib', '-li2c']
|
|
)]
|
|
)
|