forked from smandon/rdumtool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (42 loc) · 1.45 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/usr/bin/env python3
import os
import sys
from setuptools import setup, find_packages
assert(sys.version_info > (3, 4))
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
__version__ = None
with open(os.path.join(os.path.dirname(__file__), 'rdum', '__init__.py')) as f:
for line in f:
if not line.startswith('__version__ = '):
continue
__version__ = eval(line.rsplit(None, 1)[-1])
break
setup(
name='rdumtool',
description='RDTech UM24C/UM25C/UM34C Bluetooth interface tool',
long_description=read('README'),
version=__version__,
license='GPLv2+',
platforms=['Unix'],
author='Ryan Finnie',
author_email='ryan@finnie.org',
url='https://github.com/rfinnie/rdumtool',
download_url='https://github.com/rfinnie/rdumtool',
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
],
entry_points={
'console_scripts': [
'rdumtool = rdum.tool:main',
],
},
test_suite='tests',
)