98 lines
2.7 KiB
TOML
98 lines
2.7 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=63.0"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "pymongo"
|
|
dynamic = ["version"]
|
|
description = "Python driver for MongoDB <http://www.mongodb.org>"
|
|
readme = "README.rst"
|
|
license = {file="LICENSE"}
|
|
requires-python = ">=3.7"
|
|
authors = [
|
|
{ name = "The MongoDB Python Team" },
|
|
]
|
|
keywords = [
|
|
"bson",
|
|
"gridfs",
|
|
"mongo",
|
|
"mongodb",
|
|
"pymongo",
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Operating System :: MacOS :: MacOS X",
|
|
"Operating System :: Microsoft :: Windows",
|
|
"Operating System :: POSIX",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Database",
|
|
"Typing :: Typed",
|
|
]
|
|
dependencies = [
|
|
"dnspython>=1.16.0,<3.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
aws = [
|
|
"pymongo-auth-aws<2.0.0",
|
|
]
|
|
encryption = [
|
|
"pymongo[aws]",
|
|
"pymongocrypt>=1.6.0,<2.0.0",
|
|
"certifi;os.name=='nt' or sys_platform=='darwin'",
|
|
]
|
|
gssapi = [
|
|
"pykerberos;os.name!='nt'",
|
|
"winkerberos>=0.5.0;os.name=='nt'"
|
|
]
|
|
# PyOpenSSL 17.0.0 introduced support for OCSP. 17.1.0 introduced
|
|
# a related feature we need. 17.2.0 fixes a bug
|
|
# in set_default_verify_paths we should really avoid.
|
|
# service_identity 18.1.0 introduced support for IP addr matching.
|
|
# Fallback to certifi on Windows if we can't load CA certs from the system
|
|
# store and just use certifi on macOS.
|
|
# https://www.pyopenssl.org/en/stable/api/ssl.html#OpenSSL.SSL.Context.set_default_verify_paths
|
|
ocsp = [
|
|
"certifi;os.name=='nt' or sys_platform=='darwin'",
|
|
"pyopenssl>=17.2.0",
|
|
"requests<3.0.0",
|
|
"cryptography>=2.5",
|
|
"service_identity>=18.1.0",
|
|
]
|
|
snappy = [
|
|
"python-snappy",
|
|
]
|
|
# PYTHON-3423 Removed in 4.3 but kept here to avoid pip warnings.
|
|
srv = []
|
|
tls = []
|
|
# PYTHON-2133 Removed in 4.0 but kept here to avoid pip warnings.
|
|
zstd = [
|
|
"zstandard",
|
|
]
|
|
test = ["pytest>=7"]
|
|
|
|
[project.urls]
|
|
Homepage = "http://github.com/mongodb/mongo-python-driver"
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "pymongo._version.__version__"}
|
|
|
|
[tool.setuptools.packages.find]
|
|
include = ["bson","gridfs", "pymongo"]
|
|
|
|
[tool.setuptools.package-data]
|
|
bson=["py.typed", "*.pyi"]
|
|
pymongo=["py.typed", "*.pyi"]
|
|
gridfs=["py.typed", "*.pyi"]
|