Skip to content

Commit c795aa8

Browse files
committed
update setup.py
1 parent 984fbe1 commit c795aa8

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

setup.py

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77
from setuptools import setup, find_packages
88

9-
version_file = os.path.join(os.path.dirname(__file__), 'flask_openapi3', '__version__.py')
10-
with open(version_file, 'r', encoding='utf-8') as f:
11-
version = re.findall(r"__version__ = '(.*?)'", f.read())[0]
9+
version_file = os.path.join(os.path.dirname(__file__), "flask_openapi3", "__version__.py")
10+
with open(version_file, "r", encoding="utf-8") as f:
11+
version = re.findall(r"__version__ = \"(.*?)\"", f.read())[0]
1212

13-
long_description = open('README.md', 'r', encoding='utf-8').read()
13+
long_description = open("README.md", "r", encoding="utf-8").read()
1414

1515
install_requires = []
16-
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt'), 'r', encoding='utf-8') as f:
16+
with open(os.path.join(os.path.dirname(__file__), "requirements.txt"), "r", encoding="utf-8") as f:
1717
for line in f.readlines():
1818
line = line.strip()
1919
if line:
@@ -22,40 +22,40 @@
2222
setup(
2323
name="flask-openapi3",
2424
version=version,
25-
url='https://github.com/luolingchun/flask-openapi3',
26-
description='Generate REST API and OpenAPI documentation for your Flask project.',
25+
url="https://github.com/luolingchun/flask-openapi3",
26+
description="Generate REST API and OpenAPI documentation for your Flask project.",
2727
long_description=long_description,
28-
long_description_content_type='text/markdown',
29-
license='MIT',
30-
license_files='LICENSE.rst',
31-
author='llc',
32-
author_email='luolingchun@outlook.com',
28+
long_description_content_type="text/markdown",
29+
license="MIT",
30+
license_files="LICENSE.rst",
31+
author="llc",
32+
author_email="luolingchun@outlook.com",
3333
packages=find_packages(),
3434
include_package_data=True,
3535
python_requires=">=3.7",
3636
zip_safe=False,
37-
platforms='any',
37+
platforms="any",
3838
install_requires=install_requires,
39-
extras_require={'yaml': ['pyyaml']},
39+
extras_require={"yaml": ["pyyaml"]},
4040
classifiers=[
41-
# 'Development Status :: 1 - Planning',
42-
# 'Development Status :: 2 - Pre-Alpha',
43-
# 'Development Status :: 3 - Alpha ',
44-
# 'Development Status :: 4 - Beta',
45-
'Development Status :: 5 - Production/Stable',
46-
# 'Development Status :: 6 - Mature',
47-
# 'Development Status :: 7 - Inactive',
48-
'Environment :: Web Environment',
49-
'Framework :: Flask',
50-
'Intended Audience :: Developers',
51-
'License :: OSI Approved :: MIT License',
52-
'Operating System :: OS Independent',
53-
'Programming Language :: Python',
54-
'Programming Language :: Python :: 3',
55-
'Programming Language :: Python :: 3 :: Only',
56-
'Programming Language :: Python :: 3.7',
57-
'Programming Language :: Python :: 3.8',
58-
'Programming Language :: Python :: 3.9',
59-
'Programming Language :: Python :: 3.10'
41+
# "Development Status :: 1 - Planning",
42+
# "Development Status :: 2 - Pre-Alpha",
43+
# "Development Status :: 3 - Alpha ",
44+
# "Development Status :: 4 - Beta",
45+
"Development Status :: 5 - Production/Stable",
46+
# "Development Status :: 6 - Mature",
47+
# "Development Status :: 7 - Inactive",
48+
"Environment :: Web Environment",
49+
"Framework :: Flask",
50+
"Intended Audience :: Developers",
51+
"License :: OSI Approved :: MIT License",
52+
"Operating System :: OS Independent",
53+
"Programming Language :: Python",
54+
"Programming Language :: Python :: 3",
55+
"Programming Language :: Python :: 3 :: Only",
56+
"Programming Language :: Python :: 3.7",
57+
"Programming Language :: Python :: 3.8",
58+
"Programming Language :: Python :: 3.9",
59+
"Programming Language :: Python :: 3.10"
6060
]
6161
)

0 commit comments

Comments
 (0)