-
Notifications
You must be signed in to change notification settings - Fork 38
/
setup.py
47 lines (43 loc) · 1.83 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
import re
from pathlib import Path
from setuptools import setup
with open(Path("fastapi_sqlalchemy") / "__init__.py", encoding="utf-8") as fh:
version = re.search(r'__version__ = "(.*?)"', fh.read(), re.M).group(1)
with open("README.md", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="FastAPI-SQLAlchemy-improved",
version=version,
url="https://github.com/Ewen-Zippedscript/fastapi-sqlalchemy",
project_urls={
"Code": "https://github.com/Ewen-Zippedscript/fastapi-sqlalchemy",
"Issue tracker": "https://github.com/Ewen-Zippedscript/fastapi-sqlalchemy/issues",
},
license="MIT",
author="Ewen Lorimer",
author_email="[email protected]",
description="Adds simple SQLAlchemy support with multiple databases to FastAPI.",
long_description=long_description,
long_description_content_type="text/markdown",
packages=["fastapi_sqlalchemy"],
package_data={"fastapi_sqlalchemy": ["py.typed"]},
zip_safe=False,
python_requires=">=3.7",
install_requires=["starlette>=0.12.9", "SQLAlchemy>=1.2", "fastapi>=0.52.0", "curio>=1.6"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)