summaryrefslogtreecommitdiff
path: root/py-smbus/setup.py
blob: 26db33a2638a2f3adfc3620f7aba4c564c9b3047 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env python

from setuptools 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']
	)]
)