-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (44 loc) · 1.78 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
import re
from pathlib import Path
from setuptools import setup
with open(Path("fastapi_sqlmodel") / "__init__.py", encoding="utf-8") as fh:
version = re.search(r'__version__ = "(.*?)"', fh.read(), re.M).group(1)
with open("README.rst", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="FastAPI-SQLModel",
version=version,
url="https://github.com/hitman-gdg/fastapi-sqlmodel",
project_urls={
"Code": "https://github.com/hitman-gdg/fastapi-sqlmodel",
"Issue tracker": "https://github.com/hitman-gdg/fastapi-sqlmodel/issues",
},
license="MIT",
author="Shawn Martin",
author_email="hitman.gdg@gmail.com",
description="Adds simple SQLModel support to FastAPI",
long_description=long_description,
packages=["fastapi_sqlmodel"],
package_data={"fastapi_sqlmodel": ["py.typed"]},
zip_safe=False,
python_requires=">=3.9",
install_requires=["starlette>=0.12.9", "SQLAlchemy>=1.2"],
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.9",
"Programming Language :: Python :: 3.10",
"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",
],
)