forked from unionai-oss/pandera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
72 lines (67 loc) · 2.32 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
from setuptools import setup, find_packages
with open("README.md") as f:
long_description = f.read()
version = {}
with open("pandera/version.py") as fp:
exec(fp.read(), version)
_extras_require = {
"strategies": ["hypothesis >= 5.41.1"],
"hypotheses": ["scipy"],
"io": ["pyyaml >= 5.1", "black", "frictionless"],
"pyspark": ["pyspark >= 3.2.0"],
"modin": ["modin", "ray <= 1.7.0", "dask"],
"modin-ray": ["modin", "ray <= 1.7.0"],
"modin-dask": ["modin", "dask"],
"dask": ["dask"],
"mypy": ["pandas-stubs <= 1.4.3.220807"],
"fastapi": ["fastapi"],
"geopandas": ["geopandas", "shapely"],
}
extras_require = {
**_extras_require,
"all": list(set(x for y in _extras_require.values() for x in y)),
}
setup(
name="pandera",
version=version["__version__"],
author="Niels Bantilan",
author_email="[email protected]",
description="A light-weight and flexible data validation and testing tool for statistical data objects.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/pandera-dev/pandera",
project_urls={
"Documentation": "https://pandera.readthedocs.io",
"Issue Tracker": "https://github.com/pandera-dev/pandera/issues",
},
keywords=["pandas", "validation", "data-structures"],
license="MIT",
data_files=[("", ["LICENSE.txt"])],
packages=find_packages(include=["pandera*"]),
package_data={"pandera": ["py.typed"]},
install_requires=[
"packaging >= 20.0",
"numpy >= 1.19.0",
"pandas >= 1.2.0",
"pydantic",
"typing_extensions >= 3.7.4.3 ; python_version<'3.8'",
"typing_inspect >= 0.6.0",
"wrapt",
"pyarrow",
],
extras_require=extras_require,
python_requires=">=3.8",
platforms="any",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Scientific/Engineering",
],
)