|
1 | 1 | #!/usr/bin/python
|
2 | 2 | # -*- mode: python; coding: utf-8 -*-
|
3 | 3 |
|
4 |
| -import os |
5 | 4 | import sys
|
6 | 5 | import subprocess
|
7 |
| -import platform |
8 | 6 | from setuptools import setup, Extension
|
9 | 7 |
|
10 | 8 | extension_modules = list()
|
|
40 | 38 | 'src/bluez/src/log.c',
|
41 | 39 | 'src/bluez/btio/btio.c'],
|
42 | 40 |
|
43 |
| - libraries = glib_libs + boost_libs + ["boost_thread", "bluetooth"], |
| 41 | + libraries=glib_libs + boost_libs + ["boost_thread", "bluetooth"], |
| 42 | + include_dirs=glib_headers + ['src/bluez'], |
| 43 | + define_macros=[('VERSION', '"5.25"')] |
44 | 44 |
|
45 |
| - include_dirs = glib_headers + [ 'src/bluez'], |
46 |
| - |
47 |
| - define_macros = [('VERSION', '"5.25"')] |
48 |
| - |
49 | 45 | )
|
50 | 46 | ]
|
51 | 47 | else:
|
52 | 48 | raise OSError("Not supported OS")
|
53 | 49 |
|
54 |
| - |
| 50 | + |
55 | 51 | setup(
|
56 |
| - name = 'gattlib', |
57 |
| - version = "1.1", |
58 |
| - description = "Library to access Bluetooth LE devices", |
59 |
| - author = "Oscar Acena", |
60 |
| - author_email = "[email protected]", |
61 |
| - url = "https://bitbucket.org/OscarAcena/pygattlib", |
62 |
| - ext_modules = extension_modules, |
| 52 | + name='gattlib', |
| 53 | + version="0.20150805", |
| 54 | + description="Library to access Bluetooth LE devices", |
| 55 | + author="Oscar Acena", |
| 56 | + |
| 57 | + url="https://bitbucket.org/OscarAcena/pygattlib", |
| 58 | + ext_modules=extension_modules, |
63 | 59 | )
|
0 commit comments