Skip to content

Commit 2ccfd77

Browse files
committed
refactor: Separate development and production dependencies in setup.py
- Moved development dependencies (e.g., uvicorn) to the 'dev' extras_require - Users can now install development dependencies with `pip install fastapi_quickcrud[dev]` - Updated the setup.py file accordingly
1 parent 314e824 commit 2ccfd77

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

setup.py

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

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

55
print("""
66
@@ -19,7 +19,13 @@
1919
name='fastapi_quickcrud',
2020
version=VERSION,
2121
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"],
22+
"aiosqlite==0.17.0","anyio==3.5.0"],
23+
extras_require={
24+
'dev': [
25+
"uvicorn==0.17.0",
26+
"greenlet==1.1.2"
27+
],
28+
},
2329
python_requires=">=3.7",
2430
description="A comprehensive FastaAPI's CRUD router generator for SQLALchemy.",
2531
long_description=open("README.md",'r',encoding="utf-8").read(),

0 commit comments

Comments
 (0)