-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
39 lines (33 loc) · 1015 Bytes
/
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
#!/usr/bin/env python3
import re
import setuptools
from setuptools import find_packages
def find_version():
return re.search(r"^__version__ = '(.*)'$",
open('mqttools/version.py', 'r').read(),
re.MULTILINE).group(1)
setuptools.setup(
name='mqttools',
version=find_version(),
description='MQTT tools.',
long_description=open('README.rst', 'r').read(),
author='Erik Moqvist',
author_email='erik.moqvist@gmail.com',
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
keywords=['mqtt'],
url='https://github.com/eerimoq/mqttools',
packages=find_packages(exclude=['tests']),
install_requires=[
'bitstruct',
'humanfriendly',
'windows-curses;platform_system=="Windows"',
'argparse_addons'
],
test_suite="tests",
entry_points={
'console_scripts': ['mqttools=mqttools.__init__:main']
})