added telldus python bindings

This commit is contained in:
Øyvind Saltvik 2012-08-04 18:42:00 +02:00
parent 84330f8518
commit 9d11cfb07f
5 changed files with 673 additions and 0 deletions

19
bindings/python/setup.py Normal file
View file

@ -0,0 +1,19 @@
from distutils.core import setup, Extension
telldus = Extension(
'telldus',
include_dirs = ['/usr/local/include'],
libraries = ['telldus-core'],
library_dirs = ['/usr/lib'],
sources = ['telldus.c']
)
setup(
name = 'telldus',
version = '1.0',
description = 'Python bindings for telldus',
author='Oyvind Saltvik',
author_email='oyvind.saltvik@gmail.com',
url='http://github.com/fivethreeo/telldus/',
ext_modules = [telldus]
)