Skip to content

Commit 6cad9f6

Browse files
ninyaweeLuisLuii
andauthored
👌 IMPROVE: remove dev deps and use softer constriat (#33)
* 👌 IMPROVE: remove dev deps and use softer constriat * 🐛 FIX: switch to gt sign * Update setup.py --------- Co-authored-by: Luis <luis11235178@gmail.com>
1 parent 314e824 commit 6cad9f6

1 file changed

Lines changed: 39 additions & 14 deletions

File tree

setup.py

Lines changed: 39 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
from setuptools import setup, find_packages
22

3-
VERSION = '0.2.4'
3+
VERSION = "0.2.4"
44

5-
print("""
5+
print(
6+
"""
67
78
- upload
89
- build wheel: python setup.py sdist
@@ -11,26 +12,50 @@
1112
- download
1213
- Just pip install <package>
1314
14-
""")
15+
"""
16+
)
1517

1618

17-
if __name__ == '__main__':
19+
if __name__ == "__main__":
1820
setup(
19-
name='fastapi_quickcrud',
21+
name="fastapi_quickcrud",
2022
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+
},
2338
python_requires=">=3.7",
2439
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(),
2641
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",
3045
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"},
3459
setup_requires=["setuptools>=31.6.0"],
3560
classifiers=[
3661
"Operating System :: OS Independent",

0 commit comments

Comments
 (0)