-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
63 lines (58 loc) · 2.02 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
62
63
#!/usr/bin/env python3
#
# Copyright (C) 2024 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="info@scs.ch",
maintainer="Supercomputing Systems AG",
maintainer_email="info@scs.ch",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Typing :: Typed",
],
license="GPLv2",
python_requires=">=3.8",
packages=find_packages(
exclude=["contrib", "doc", "LICENSES", "scripts", "tests", "tests."]
),
include_package_data=True,
install_requires=[
'aioserial==1.3.1',
'asyncio-mqtt==0.16.2',
'gurux-dlms==1.0.150',
'paho-mqtt==1.6.1',
'pyserial==3.5'
],
scripts=["bin/smartmeter-datacollector"],
zip_safe=True,
dependency_links=[],
)