|
12 | 12 | VERSION = sys.argv.pop(1) |
13 | 13 | assert re.match(r"[0-9]+\.[0-9]+\.[0-9]+", VERSION), "Version definition required as first arg" |
14 | 14 |
|
15 | | -requirements = ['requests', 'backoff'] |
| 15 | +requirements = ["requests", "backoff"] |
16 | 16 |
|
17 | | -extra_requirements = { |
18 | | - 'dev': [ |
19 | | - 'pytest', |
20 | | - 'coverage', |
21 | | - 'python-dotenv', |
22 | | - 'responses' |
| 17 | +extra_requirements = {"dev": ["pytest", "coverage", "python-dotenv", "responses"], "docs": ["sphinx"]} |
23 | 18 |
|
| 19 | +setup( |
| 20 | + name="3scale-api", |
| 21 | + version=VERSION, |
| 22 | + description="3scale API python client", |
| 23 | + author="Peter Stanko", |
| 24 | + |
| 25 | + maintainer="Matej Dujava", |
| 26 | + maintainer_email="[email protected]", |
| 27 | + url="https://github.com/3scale-qe/3scale-api-python", |
| 28 | + packages=find_packages(exclude=("tests",)), |
| 29 | + long_description=long_description, |
| 30 | + long_description_content_type="text/markdown", |
| 31 | + include_package_data=True, |
| 32 | + install_requires=requirements, |
| 33 | + extras_require=extra_requirements, |
| 34 | + entry_points={}, |
| 35 | + classifiers=[ |
| 36 | + "Operating System :: OS Independent", |
| 37 | + "License :: OSI Approved :: Apache Software License", |
| 38 | + "Intended Audience :: Developers", |
| 39 | + "Topic :: Utilities", |
| 40 | + "Programming Language :: Python :: 3", |
| 41 | + "Programming Language :: Python :: 3.7", |
| 42 | + "Programming Language :: Python :: 3.8", |
| 43 | + "Programming Language :: Python :: 3.9", |
| 44 | + "Programming Language :: Python :: 3.10", |
| 45 | + "Programming Language :: Python :: 3.11", |
| 46 | + "Programming Language :: Python :: 3.12", |
| 47 | + "Programming Language :: Python :: 3.13", |
24 | 48 | ], |
25 | | - 'docs': ['sphinx'] |
26 | | -} |
27 | | - |
28 | | -setup(name='3scale-api', |
29 | | - version=VERSION, |
30 | | - description='3scale API python client', |
31 | | - author='Peter Stanko', |
32 | | - |
33 | | - maintainer='Peter Stanko', |
34 | | - url='https://github.com/3scale-qe/3scale-api-python', |
35 | | - packages=find_packages(exclude=("tests",)), |
36 | | - long_description=long_description, |
37 | | - long_description_content_type='text/markdown', |
38 | | - include_package_data=True, |
39 | | - install_requires=requirements, |
40 | | - extras_require=extra_requirements, |
41 | | - entry_points={}, |
42 | | - classifiers=[ |
43 | | - "Operating System :: OS Independent", |
44 | | - "License :: OSI Approved :: Apache Software License", |
45 | | - 'Intended Audience :: Developers', |
46 | | - 'Topic :: Utilities', |
47 | | - "Programming Language :: Python :: 3", |
48 | | - 'Programming Language :: Python :: 3.7', |
49 | | - 'Programming Language :: Python :: 3.8', |
50 | | - 'Programming Language :: Python :: 3.9', |
51 | | - 'Programming Language :: Python :: 3.10', |
52 | | - 'Programming Language :: Python :: 3.11', |
53 | | - 'Programming Language :: Python :: 3.12', |
54 | | - 'Programming Language :: Python :: 3.13', |
55 | | - ], |
56 | | - ) |
| 49 | +) |
0 commit comments