Skip to content

Commit e56f29e

Browse files
author
karulis
committed
Fix for version in setup.py
1 parent 31751b7 commit e56f29e

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

Diff for: setup.py

+11-15
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
#!/usr/bin/python
22
# -*- mode: python; coding: utf-8 -*-
33

4-
import os
54
import sys
65
import subprocess
7-
import platform
86
from setuptools import setup, Extension
97

108
extension_modules = list()
@@ -40,24 +38,22 @@
4038
'src/bluez/src/log.c',
4139
'src/bluez/btio/btio.c'],
4240

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"')]
4444

45-
include_dirs = glib_headers + [ 'src/bluez'],
46-
47-
define_macros = [('VERSION', '"5.25"')]
48-
4945
)
5046
]
5147
else:
5248
raise OSError("Not supported OS")
5349

54-
50+
5551
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+
author_email="[email protected]",
57+
url="https://bitbucket.org/OscarAcena/pygattlib",
58+
ext_modules=extension_modules,
6359
)

0 commit comments

Comments
 (0)