forked from jefersondaniel/pydantic-mongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (37 loc) · 1.17 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
import os
from setuptools import setup
long_description = open("README.rst", "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>=1.6.2,<2.0.0"
],
entry_points={
"console_scripts": [
"pydantic_mongo = pydantic_mongo.__main__:__main__"
],
},
description="Document object mapper for pydantic and pymongo",
long_description=long_description,
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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
python_requires=">=3.7"
)