-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
67 lines (64 loc) · 2.46 KB
/
Copy pathsetup.py
File metadata and controls
67 lines (64 loc) · 2.46 KB
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
from pathlib import Path
from setuptools import setup, find_packages
ROOT = Path(__file__).parent
try:
import pypandoc
README = pypandoc.convert_file(str(ROOT / "README.md"), "rst")
(ROOT / "README.rst").write_text(README, encoding="utf-8")
long_description_content_type = "text/x-rst"
except (ImportError, OSError):
README = (ROOT / "README.md").read_text(encoding="utf-8")
long_description_content_type = "text/markdown"
setup(
name="firestore_pydantic_odm",
version="1.0.20",
description="Asynchronous Pydantic ODM for Google Cloud Firestore",
long_description=README,
long_description_content_type=long_description_content_type,
author="Santos Dev Co",
author_email="projects@santosdevco.com",
url="https://github.com/santosdevco/firestore-pydantic-odm",
license="MIT",
license_files=["LICENSE"],
packages=find_packages(exclude=("tests",)),
include_package_data=True, # include py.typed
package_data={"firestore_pydantic_odm": ["py.typed"]},
python_requires=">=3.8",
install_requires=[
"pydantic>=1.5,<3.0.0",
"google-cloud-firestore>=2.11.0", # Required for FieldFilter
"packaging", # Used for version parsing in pydantic_compat
],
extras_require={
"emulator": ["google-cloud-firestore-emulator"],
"dev": ["black", "ruff", "pytest", "pytest-asyncio", "httpx"],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Framework :: AsyncIO",
"Topic :: Database :: Front-Ends",
"Typing :: Typed",
],
keywords=[
"firestore",
"pydantic",
"odm",
"asyncio",
"google cloud",
],
project_urls={
"Documentation": "https://github.com/santosdevco/firestore-pydantic-odm#readme",
"Changelog": "https://github.com/santosdevco/firestore-pydantic-odm/releases",
"Issue Tracker": "https://github.com/santosdevco/firestore-pydantic-odm/issues",
"Source Code": "https://github.com/santosdevco/firestore-pydantic-odm",
},
)