-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
59 lines (56 loc) · 1.95 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
from pathlib import Path
from setuptools import find_packages, setup
# read the contents of README file
repository_root = Path(__file__).parent
long_description = (repository_root / "README.md").read_text()
setup(
name="pyDVL",
package_dir={"": "src"},
package_data={"pydvl": ["py.typed"]},
packages=find_packages(where="src"),
include_package_data=True,
version="0.9.3.dev0",
description="The Python Data Valuation Library",
install_requires=[
line
for line in open("requirements.txt").readlines()
if not line.startswith("--")
],
setup_requires=["wheel"],
tests_require=["pytest"],
extras_require={
"cupy": ["cupy-cuda11x>=12.1.0"],
"memcached": ["pymemcache"],
"influence": [
"torch>=2.0.0",
"dask>=2023.5.0",
"distributed>=2023.5.0",
"zarr>=2.16.1",
],
"ray": ["ray>=0.8"],
},
author="appliedAI Institute gGmbH",
long_description=long_description,
long_description_content_type="text/markdown",
license_files=("LICENSE", "COPYING.LESSER"),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Typing :: Typed",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)",
],
project_urls={
"Source": "https://github.com/aai-institute/pydvl",
"Documentation": "https://pydvl.org",
"TransferLab": "https://transferlab.ai",
},
zip_safe=False, # Needed for mypy to find py.typed
)