-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (50 loc) · 1.44 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
from setuptools import setup, find_packages
readme = open('README.rst').read()
requirements = {
"package": [
"expiringdict",
"pymodbus",
"yamlsettings",
],
"test": [
"pytest",
"pytest-mock",
"pytest-pudb",
],
"setup": [
"pytest-runner",
],
}
requirements.update(all=sorted(set().union(*requirements.values())))
setup(
name='renogy_rover',
version='0.0.1',
description='MODBUS Driver for the Renogy Rover 20A/40A Charge Controller',
long_description=readme,
author='Kyle James Walker',
author_email='[email protected]',
url='https://github.com/KyleJamesWalker/renogy_rover',
packages=find_packages(),
package_dir={'renogy_rover': 'renogy_rover'},
include_package_data=True,
install_requires=requirements['package'],
extras_require=requirements,
setup_requires=requirements['setup'],
license='MIT',
entry_points={
"console_scripts": [
"renogy = renogy_rover.__main__:main",
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
test_suite='tests',
tests_require=requirements['test'],
)