forked from Pirionfr/pyLinky
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·39 lines (34 loc) · 1.19 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
import sys
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
if sys.version_info < (3, 4):
sys.exit('Sorry, Python < 3.4 is not supported')
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='pylinky',
version='0.5.0',
description='Get your consumption data from your Enedis account (www.enedis.fr)',
long_description=long_description,
author='Dimitri Capitaine',
author_email='[email protected]',
url='https://github.com/Pirionfr/pyLinky',
package_data={'': ['LICENSE']},
include_package_data=True,
packages=find_packages(),
entry_points={
'console_scripts': [
'pylinky = pylinky.__main__:main'
]
},
license='Apache 2.0',
install_requires=['python-dateutil', 'requests', 'simplejson', 'requests_oauthlib', 'oauthlib'],
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)