-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.py
36 lines (31 loc) · 1.13 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
import os
from setuptools import setup
long_description = open("README.md", "r").read()
package_root = os.path.abspath(os.path.dirname(__file__))
version = {}
with open(os.path.join(package_root, "pydantic_mongo/version.py")) as fp:
exec(fp.read(), version)
version = version["__version__"]
setup(
name="pydantic-mongo",
version=version,
packages=["pydantic_mongo"],
setup_requires=["wheel"],
install_requires=["pymongo>=4.3,<5.0", "pydantic>=2.0.2,<3.0.0"],
description="Document object mapper for pydantic and pymongo",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jefersondaniel/pydantic-mongo",
author="Jeferson Daniel",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.8",
)