-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
executable file
·42 lines (38 loc) · 1.43 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
from distutils.core import setup
from setuptools import find_packages
import re
with open("polyinterface/__init__.py") as meta_file:
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", meta_file.read()))
setup(name='polyinterface',
version=metadata['version'],
description=metadata['description'],
url=metadata['url'],
author=metadata['author'],
author_email=metadata['authoremail'],
license=metadata['license'],
packages=find_packages(),
install_requires=[
"paho-mqtt",
"python-dotenv",
"markdown2",
"netifaces"
],
python_requires='>2.7,!=3.0.*,!=3.1.*,!=3.2.*',
zip_safe=False,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How Mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
])