|
1 | 1 | from setuptools import setup, find_packages |
2 | 2 |
|
3 | | -VERSION = '0.2.4' |
| 3 | +VERSION = "0.2.4" |
4 | 4 |
|
5 | | -print(""" |
| 5 | +print( |
| 6 | + """ |
6 | 7 |
|
7 | 8 | - upload |
8 | 9 | - build wheel: python setup.py sdist |
|
11 | 12 | - download |
12 | 13 | - Just pip install <package> |
13 | 14 |
|
14 | | -""") |
| 15 | +""" |
| 16 | +) |
15 | 17 |
|
16 | 18 |
|
17 | | -if __name__ == '__main__': |
| 19 | +if __name__ == "__main__": |
18 | 20 | setup( |
19 | | - name='fastapi_quickcrud', |
| 21 | + name="fastapi_quickcrud", |
20 | 22 | version=VERSION, |
21 | | - install_requires=["fastapi<=0.68.2","pydantic<=1.8.2","SQLAlchemy<=1.4.30","StrEnum==0.4.7","starlette==0.14.2", |
22 | | - "aiosqlite==0.17.0","uvicorn==0.17.0","greenlet==1.1.2","anyio==3.5.0"], |
| 23 | + install_requires=[ |
| 24 | + "fastapi>=0.68.2", |
| 25 | + "pydantic>=1.8.2", |
| 26 | + "SQLAlchemy>=1.4.30", |
| 27 | + "StrEnum>=0.4.7", |
| 28 | + "starlette>=0.14.2", |
| 29 | + "aiosqlite>=0.17.0", |
| 30 | + ], |
| 31 | + extras_require={ |
| 32 | + 'dev': [ |
| 33 | + "uvicorn==0.17.0", |
| 34 | + "greenlet==1.1.2", |
| 35 | + "anyio==3.5.0" |
| 36 | + ], |
| 37 | + }, |
23 | 38 | python_requires=">=3.7", |
24 | 39 | description="A comprehensive FastaAPI's CRUD router generator for SQLALchemy.", |
25 | | - long_description=open("README.md",'r',encoding="utf-8").read(), |
| 40 | + long_description=open("README.md", "r", encoding="utf-8").read(), |
26 | 41 | long_description_content_type="text/markdown", |
27 | | - author='Luis Lui', |
28 | | - author_email='luis11235178@gmail.com', |
29 | | - url='https://github.com/LuisLuii/FastAPIQuickCRUD', |
| 42 | + author="Luis Lui", |
| 43 | + author_email="luis11235178@gmail.com", |
| 44 | + url="https://github.com/LuisLuii/FastAPIQuickCRUD", |
30 | 45 | license="MIT License", |
31 | | - keywords=["fastapi", "crud", "restful", "routing","SQLAlchemy", "generator", "crudrouter","postgresql","builder"], |
32 | | - packages=find_packages('src'), |
33 | | - package_dir={'': 'src'}, |
| 46 | + keywords=[ |
| 47 | + "fastapi", |
| 48 | + "crud", |
| 49 | + "restful", |
| 50 | + "routing", |
| 51 | + "SQLAlchemy", |
| 52 | + "generator", |
| 53 | + "crudrouter", |
| 54 | + "postgresql", |
| 55 | + "builder", |
| 56 | + ], |
| 57 | + packages=find_packages("src"), |
| 58 | + package_dir={"": "src"}, |
34 | 59 | setup_requires=["setuptools>=31.6.0"], |
35 | 60 | classifiers=[ |
36 | 61 | "Operating System :: OS Independent", |
|
0 commit comments