-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
61 lines (53 loc) · 2.35 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
import os
from setuptools import setup, find_packages
VERSION = os.getenv("RELEASE_VERSION", default=None) or os.getenv("env.RELEASE_VERSION", default=None)
if not VERSION:
raise RuntimeError("Missing release version env var")
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-crud-code-generator',
version=VERSION,
install_requires=["aiosqlite<=0.17.0","asyncpg<=0.26.0","fastapi<=0.85.1","greenlet<=1.1.3.post0","Jinja2<=3.1.2",
"psycopg2<=2.9.4","pydantic<=1.10.2","SQLAlchemy<=1.4.42","StrEnum<=0.4.8", "uvicorn<=0.19.0"],
python_requires=">=3.7",
description="FastaAPI's CRUD project 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/fastapi-crud-template-generator',
license="MIT License",
keywords=["fastapi", "crud", "restful", "routing","SQLAlchemy", "generator", "crudrouter","postgresql","builder"],
packages=find_packages("src", include="*.jinja2"),
package_data={
'': ['*.jinja2'],
'src.fastapi_quickcrud_codegen.model.template.common': ['*.jinja2'],
},
package_dir={'': 'src'},
setup_requires=["setuptools>=31.6.0"],
classifiers=[
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Code Generators",
"Typing :: Typed",
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: FastAPI",
"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,
)