-
Notifications
You must be signed in to change notification settings - Fork 116
/
setup.py
executable file
·28 lines (25 loc) · 951 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
from setuptools import setup
import re
with open("lifxlan/__init__.py") as meta_file:
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*'([^']+)'", meta_file.read()))
setup(name='lifxlan',
version=metadata['version'],
description=metadata['description'],
url=metadata['url'],
author=metadata['author'],
author_email=metadata['authoremail'],
license=metadata['license'],
packages=['lifxlan'],
install_requires=[
"bitstring",
"ifaddr"
],
zip_safe=False,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# 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'
])