|
10 | 10 |
|
11 | 11 | here = os.path.abspath(os.path.dirname(__file__)) |
12 | 12 |
|
13 | | -with open(os.path.join(here, 'README.rst'), encoding='utf-8') as readme_file: |
| 13 | +with open(os.path.join(here, "README.rst"), encoding="utf-8") as readme_file: |
14 | 14 | long_description = readme_file.read() |
15 | 15 |
|
16 | | -if sys.argv[-1] == 'publish': |
17 | | - os.system('python3 setup.py sdist upload') |
| 16 | +if sys.argv[-1] == "publish": |
| 17 | + os.system("python3 setup.py sdist upload") |
18 | 18 | sys.exit() |
19 | 19 |
|
20 | 20 | setup( |
21 | | - name='glances_api', |
22 | | - version='0.2.0', |
23 | | - description='Python API for interacting with Glances.', |
| 21 | + name="glances_api", |
| 22 | + version="0.2.0", |
| 23 | + description="Python API for interacting with Glances.", |
24 | 24 | long_description=long_description, |
25 | | - url='https://github.com/home-assistant-ecosystem/python-glances-api', |
26 | | - download_url='https://github.com/home-assistant-ecosystem/python-glances-api/releases', |
27 | | - author='Fabian Affolter', |
28 | | - |
29 | | - license='MIT', |
30 | | - install_requires=['aiohttp>=3.7.4,<4', 'async_timeout<4'], |
31 | | - packages=['glances_api'], |
| 25 | + url="https://github.com/home-assistant-ecosystem/python-glances-api", |
| 26 | + download_url="https://github.com/home-assistant-ecosystem/python-glances-api/releases", |
| 27 | + author="Fabian Affolter", |
| 28 | + |
| 29 | + license="MIT", |
| 30 | + install_requires=["aiohttp>=3.7.4,<4", "async_timeout<4"], |
| 31 | + packages=["glances_api"], |
32 | 32 | zip_safe=True, |
33 | 33 | classifiers=[ |
34 | | - 'Development Status :: 3 - Alpha', |
35 | | - 'Environment :: Console', |
36 | | - 'Intended Audience :: Developers', |
37 | | - 'License :: OSI Approved :: MIT License', |
38 | | - 'Operating System :: MacOS :: MacOS X', |
39 | | - 'Operating System :: Microsoft :: Windows', |
40 | | - 'Operating System :: POSIX', |
41 | | - 'Programming Language :: Python :: 3.5', |
42 | | - 'Programming Language :: Python :: 3.6', |
43 | | - 'Topic :: Utilities', |
| 34 | + "Development Status :: 3 - Alpha", |
| 35 | + "Environment :: Console", |
| 36 | + "Intended Audience :: Developers", |
| 37 | + "License :: OSI Approved :: MIT License", |
| 38 | + "Operating System :: MacOS :: MacOS X", |
| 39 | + "Operating System :: Microsoft :: Windows", |
| 40 | + "Operating System :: POSIX", |
| 41 | + "Programming Language :: Python :: 3.5", |
| 42 | + "Programming Language :: Python :: 3.6", |
| 43 | + "Topic :: Utilities", |
44 | 44 | ], |
45 | 45 | ) |
0 commit comments