-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·55 lines (48 loc) · 1.46 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
#!/usr/bin/env python
# -*- coding:utf-8 -*-
import os
from setuptools import setup, find_packages
def readme():
try:
_r = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(_r, 'r') as _f:
return _f.read()
except:
return ''
def requires():
try:
with open('requirements.txt', 'r') as _f:
return _f.readlines()
except:
return []
setup(
name='solar_monitor',
version='2.1.2',
description='Solar charge controller monitor like TS-MPPT-60',
long_description=readme(),
license="GPLv2",
author='Takashi Ando',
url='https://github.com/dodo5522/solar_monitor.git',
install_requires=requires(),
packages=find_packages(),
entry_points={
'console_scripts': [
'solar_monitor = solar_monitor.__main__:main'
]
},
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Natural Language :: Japanese',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Monitoring',
]
)