-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
setup.py
77 lines (71 loc) · 2.56 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
76
77
from pathlib import Path
from setuptools import find_packages, setup
# Read the contents of README file
source_root = Path(".")
with (source_root / "README.md").open(encoding="utf-8") as f:
long_description = f.read()
# Read the requirements
with (source_root / "requirements.txt").open(encoding="utf8") as f:
requirements = f.readlines()
try:
version = (source_root / "VERSION").read_text().rstrip("\n")
except FileNotFoundError:
version = "0.0.dev0"
with open(source_root / "src/ydata_profiling/version.py", "w") as version_file:
version_file.write(f"__version__ = '{version}'")
setup(
name="ydata-profiling",
version=version,
author="YData Labs Inc",
author_email="opensource@ydata.ai",
packages=find_packages("src"),
package_dir={"": "src"},
url="https://github.com/ydataai/ydata-profiling",
license="MIT",
description="Generate profile report for pandas DataFrame",
python_requires=">=3.7, <3.13",
install_requires=requirements,
extras_require={
"notebook": [
"jupyter>=1.0.0",
"ipywidgets>=7.5.1",
],
"unicode": [
"tangled-up-in-unicode==0.2.0",
],
},
package_data={
"ydata_profiling": ["py.typed"],
},
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Healthcare Industry",
"Topic :: Scientific/Engineering",
"Framework :: IPython",
"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",
"Programming Language :: Python :: 3.12",
],
keywords="pandas data-science data-analysis python jupyter ipython",
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={
"console_scripts": [
"ydata_profiling = ydata_profiling.controller.console:main",
"pandas_profiling = ydata_profiling.controller.console:main",
]
},
options={"bdist_wheel": {"universal": True}},
)