|
1 | | -"""Set up the Python API for Dingz devices.""" |
| 1 | +"""Set up the Python API for dingz devices.""" |
2 | 2 | import os |
3 | 3 |
|
4 | 4 | import sys |
|
7 | 7 |
|
8 | 8 | here = os.path.abspath(os.path.dirname(__file__)) |
9 | 9 |
|
10 | | -with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme: |
| 10 | +with open(os.path.join(here, "README.rst"), encoding="utf-8") as readme: |
11 | 11 | long_description = readme.read() |
12 | 12 |
|
13 | | -if sys.argv[-1] == 'publish': |
14 | | - os.system('python3 setup.py sdist upload') |
| 13 | +if sys.argv[-1] == "publish": |
| 14 | + os.system("python3 setup.py sdist upload") |
15 | 15 | sys.exit() |
16 | 16 |
|
17 | 17 | setup( |
18 | | - name='python-dingz', |
19 | | - version='0.0.1', |
20 | | - description='Python API for interacting with Dingz devices', |
| 18 | + name="python-dingz", |
| 19 | + version="0.0.1", |
| 20 | + description="Python API for interacting with Dingz devices", |
21 | 21 | long_description=long_description, |
22 | | - url='https://github.com/fabaff/python-dingz', |
23 | | - author='Fabian Affolter', |
24 | | - author_email='fabian@affolter-engineering.ch', |
25 | | - license='MIT', |
26 | | - install_requires=['aiohttp', 'async_timeout'], |
| 22 | + url="https://github.com/fabaff/python-dingz", |
| 23 | + author="Fabian Affolter", |
| 24 | + author_email="fabian@affolter-engineering.ch", |
| 25 | + license="Apache License 2.0", |
| 26 | + install_requires=["aiohttp", "async_timeout"], |
27 | 27 | packages=find_packages(), |
28 | 28 | zip_safe=True, |
29 | 29 | include_package_data=True, |
30 | 30 | classifiers=[ |
31 | | - 'Development Status :: 3 - Alpha', |
32 | | - 'Environment :: Console', |
33 | | - 'Intended Audience :: Developers', |
34 | | - 'License :: OSI Approved :: MIT License', |
35 | | - 'Operating System :: MacOS :: MacOS X', |
36 | | - 'Operating System :: Microsoft :: Windows', |
37 | | - 'Operating System :: POSIX', |
38 | | - 'Programming Language :: Python :: 3.7', |
39 | | - 'Programming Language :: Python :: 3.8', |
40 | | - 'Topic :: Utilities', |
| 31 | + "Development Status :: 3 - Alpha", |
| 32 | + "Environment :: Console", |
| 33 | + "Intended Audience :: Developers", |
| 34 | + "License :: OSI Approved :: Apache Software License", |
| 35 | + "Operating System :: MacOS :: MacOS X", |
| 36 | + "Operating System :: Microsoft :: Windows", |
| 37 | + "Operating System :: POSIX", |
| 38 | + "Programming Language :: Python :: 3.7", |
| 39 | + "Programming Language :: Python :: 3.8", |
| 40 | + "Topic :: Utilities", |
41 | 41 | ], |
42 | 42 | ) |
0 commit comments