|
7 | 7 |
|
8 | 8 |
|
9 | 9 | def get_long_description(): |
10 | | - with open("README.md", encoding="utf8") as f: |
| 10 | + with open('README.md', encoding='utf8') as f: |
11 | 11 | return f.read() |
12 | 12 |
|
13 | 13 |
|
14 | 14 | def get_packages(package): |
15 | 15 | return [ |
16 | 16 | dirpath |
17 | 17 | for dirpath, dirnames, filenames in os.walk(package) |
18 | | - if os.path.exists(os.path.join(dirpath, "__init__.py")) |
| 18 | + if os.path.exists(os.path.join(dirpath, '__init__.py')) |
19 | 19 | ] |
20 | 20 |
|
21 | 21 |
|
22 | 22 | setup( |
23 | | - name="star_resty", |
24 | | - python_requires=">=3.7", |
| 23 | + name='star_resty', |
| 24 | + python_requires='>=3.7', |
25 | 25 | install_requires=[ |
26 | | - "ujson", |
27 | | - "typing_extensions", |
28 | | - "marshmallow>=3.0.0rc8,<4", |
29 | | - "starlette<=1", |
30 | | - "apispec<3", |
| 26 | + 'ujson', |
| 27 | + 'typing_extensions', |
| 28 | + 'marshmallow>=3.0.0rc8,<4', |
| 29 | + 'starlette<1', |
| 30 | + 'apispec<4', |
31 | 31 | ], |
32 | | - version="0.0.11", |
33 | | - url="https://github.com/slv0/start_resty", |
34 | | - license="BSD", |
35 | | - description="The web framework", |
| 32 | + version='0.0.12', |
| 33 | + url='https://github.com/slv0/start_resty', |
| 34 | + license='BSD', |
| 35 | + description='The web framework', |
36 | 36 | long_description=get_long_description(), |
37 | | - long_description_content_type="text/markdown", |
38 | | - author="Slava Cheremushkin", |
39 | | - |
40 | | - packages=get_packages("star_resty"), |
41 | | - package_data={"star_resty": ["py.typed"]}, |
42 | | - data_files=[("", ["LICENSE"])], |
| 37 | + long_description_content_type='text/markdown', |
| 38 | + author='Slava Cheremushkin', |
| 39 | + |
| 40 | + packages=get_packages('star_resty'), |
| 41 | + package_data={'star_resty': ['py.typed']}, |
| 42 | + data_files=[('', ['LICENSE'])], |
43 | 43 | classifiers=[ |
44 | | - "Development Status :: 3 - Alpha", |
45 | | - "Environment :: Web Environment", |
46 | | - "Intended Audience :: Developers", |
47 | | - "License :: OSI Approved :: BSD License", |
48 | | - "Operating System :: OS Independent", |
49 | | - "Topic :: Internet :: WWW/HTTP", |
50 | | - "Programming Language :: Python :: 3.7", |
| 44 | + 'Development Status :: 3 - Alpha', |
| 45 | + 'Environment :: Web Environment', |
| 46 | + 'Intended Audience :: Developers', |
| 47 | + 'License :: OSI Approved :: BSD License', |
| 48 | + 'Operating System :: OS Independent', |
| 49 | + 'Topic :: Internet :: WWW/HTTP', |
| 50 | + 'Programming Language :: Python :: 3.7', |
51 | 51 | ], |
52 | 52 | zip_safe=False, |
53 | 53 | ) |
0 commit comments