-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
43 lines (41 loc) · 1.35 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
#
# Copyright (c) 2018-2022 Charles Godwin <magnum@godwin.ca>
#
# SPDX-License-Identifier: BSD-3-Clause
#
# tutorial https://packaging.python.org/tutorials/packaging-projects/
#
from distutils.core import setup
import setuptools
import magnum
with open("README.rst", "r") as file:
long_description = file.read()
setup(name='pymagnum',
version=magnum.__version__,
description='Magnum Energy Network Interface (read-only)',
author='Charles Godwin',
author_email='magnum@godwin.ca',
py_modules=['magnum.magtest',
'magnum.magdump',
'magnum.mag2sql'],
long_description=long_description,
long_description_content_type="text/x-rst",
license="BSD",
url='https://github.com/CharlesGodwin/pymagnum',
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent"
],
install_requires=['pyserial', 'uptime'],
python_requires='>=3.7',
entry_points={
'console_scripts': [
'magdump = magnum.magdump:main',
'magtest = magnum.magtest:main',
'mag2sql = magnum.mag2sql:main'
],
},
keywords='Magnum Energy Renewable Solar Network RS485 IoT'
)