-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
89 lines (81 loc) · 2.88 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import os
from setuptools import setup, find_packages
VERSION = os.getenv("RELEASE_VERSION", default=None) or os.getenv("env.RELEASE_VERSION", default=None)
print(
"""
- upload
- build wheel: python setup.py sdist
- upload to server: twine upload dist/*
- download
- Just pip install <package>
"""
)
if __name__ == "__main__":
setup(
name="fastapi_quickcrud",
version=VERSION,
install_requires=[
"fastapi==0.68.2",
"pydantic==1.8.2",
"SQLAlchemy==1.4.30",
"StrEnum==0.4.7",
"starlette==0.14.2",
"aiosqlite==0.17.0",
],
extras_require={
'dev': [
"uvicorn==0.17.0",
"greenlet==1.1.2",
"anyio==3.5.0"
],
},
python_requires=">=3.7",
description="A comprehensive FastaAPI's CRUD router generator for SQLALchemy.",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
author="Luis Lui",
author_email="luis11235178@gmail.com",
url="https://github.com/LuisLuii/FastAPIQuickCRUD",
license="MIT License",
keywords=[
"fastapi",
"crud",
"restful",
"routing",
"SQLAlchemy",
"generator",
"crudrouter",
"postgresql",
"builder",
],
packages=find_packages("src"),
package_dir={"": "src"},
setup_requires=["setuptools>=31.6.0"],
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Code Generators",
"Topic :: Software Development",
"Typing :: Typed",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP",
],
include_package_data=True,
)