forked from unionai-oss/pandera
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
75 lines (70 loc) · 2.43 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
73
74
75
from setuptools import find_packages, setup
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 <= 4.40.8"],
"pyspark": ["pyspark >= 3.2.0"],
"modin": ["modin", "ray", "dask"],
"modin-ray": ["modin", "ray"],
"modin-dask": ["modin", "dask"],
"dask": ["dask"],
"mypy": ["pandas-stubs"],
"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="niels.bantilan@gmail.com",
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=[
"multimethod",
"numpy >= 1.19.0",
"packaging >= 20.0",
"pandas >= 1.2.0",
"pydantic",
"typeguard >= 3.0.2",
"typing_extensions >= 3.7.4.3 ; python_version<'3.8'",
"typing_inspect >= 0.6.0",
"wrapt",
],
extras_require=extras_require,
python_requires=">=3.7",
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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering",
],
)