-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (41 loc) · 1.27 KB
/
setup.py
File metadata and controls
47 lines (41 loc) · 1.27 KB
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
#!/usr/bin/env python3
"""
Copyright (c) 2017-2018 Pascal Osinga
Licensed under MIT. All rights reserved.
"""
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
setup(
name='zeversolar_api',
version='0.1.0',
description='Python API for interacting with Zeversolar.',
long_description=long_description,
url='https://github.com/passie/python-zeversolar-api',
author='Pascal Osinga',
license='MIT',
install_requires=['aiohttp', 'async_timeout'],
packages=['zeversolar_api'],
zip_safe=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)