-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
44 lines (40 loc) · 1.48 KB
/
setup.py
File metadata and controls
44 lines (40 loc) · 1.48 KB
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
from distutils.core import setup
from setuptools import find_packages
import re
with open("udi_interface/__init__.py") as meta_file:
metadata = dict(re.findall("__([a-z]+)__\s*=\s*'([^']+)'", meta_file.read()))
setup(name='udi_interface',
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>=2.1.0",
"python-dotenv",
"markdown2",
"netifaces",
"requests",
"pyisy >2.0, != 2.1.5, <3.0.0"
],
python_requires='>3.9',
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 :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.11'
])