forked from scs/smartmeter-datacollector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (56 loc) · 1.95 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python3
#
# Copyright (C) 2022 Supercomputing Systems AG
# This file is part of smartmeter-datacollector.
#
# SPDX-License-Identifier: GPL-2.0-only
# See LICENSES/README.md for more information.
#
from os import path
from setuptools import find_packages, setup
from smartmeter_datacollector.__version__ import __version__
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="smartmeter-datacollector",
version=__version__,
description="Smart Meter Data Collector",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/scs/smartmeter-datacollector",
project_urls={
"Source": "https://github.com/scs/smartmeter-datacollector",
"Bug Reports": "https://github.com/scs/smartmeter-datacollector/issues",
"Pull Requests": "https://github.com/scs/smartmeter-datacollector/pulls",
"SCS": "https://www.scs.ch",
},
author="Supercomputing Systems AG",
author_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Typing :: Typed",
],
license="GPLv2",
python_requires=">=3.7",
packages=find_packages(
exclude=["contrib", "doc", "LICENSES", "scripts", "tests", "tests."]
),
include_package_data=True,
install_requires=[
"aioserial==1.3.0",
"asyncio-mqtt==0.10.0",
"gurux-dlms==1.0.107",
"paho-mqtt==1.5.1",
"pyserial==3.5",
],
scripts=["bin/smartmeter-datacollector"],
zip_safe=True,
dependency_links=[],
)