summaryrefslogtreecommitdiff
path: root/py-smbus/setup.py
blob: 632b235e9d719bc919d669ee8a3167eb1cb4e506 (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 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="http://lm-sensors.org/",
	ext_modules=[Extension(
		"smbus",
		["smbusmodule.c"],
		extra_compile_args=['-I../include'],
		extra_link_args=['-L../lib', '-li2c']
	)]
)