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