-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (28 loc) · 1.01 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
"""Install packages as defined in this file into the Python environment."""
from setuptools import setup, find_namespace_packages
# The version of this tool is based on the following steps:
# https://packaging.python.org/guides/single-sourcing-package-version/
VERSION = {}
with open("./src/mh_zxx/version.py") as fp:
# pylint: disable=W0122
exec(fp.read(), VERSION)
setup(
name="mh_zxx",
author="Filip Dobrovolny",
author_email="dobrovolny.filip@gmail.com",
url="https://github.com/fdobrovolny/mh-zxx",
description="Python library for interaction with MH-Z16, MH-Z19 and similar.",
version=VERSION.get("__version__", "0.0.0"),
package_dir={"": "src"},
packages=find_namespace_packages(where="src", exclude=["tests"]),
install_requires=[
"setuptools>=45.0",
"pyserial>=3.5",
],
classifiers=[
"Development Status :: 1 - Planning",
"Programming Language :: Python :: 3.0",
"Topic :: Utilities",
"Topic :: System :: Hardware",
],
)