-
Notifications
You must be signed in to change notification settings - Fork 125
/
setup.py
46 lines (42 loc) · 1.4 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
import setuptools
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, os.path.join(here, 'wilds'))
from version import __version__
print(f'Version {__version__}')
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="wilds",
version=__version__,
author="WILDS team",
author_email="[email protected]",
url="https://wilds.stanford.edu",
description="WILDS distribution shift benchmark",
long_description=long_description,
long_description_content_type="text/markdown",
install_requires = [
'numpy>=1.19.1',
'ogb>=1.2.6',
'outdated>=0.2.0',
'pandas>=1.1.0',
'pillow>=7.2.0',
'ogb>=1.2.6',
'pytz>=2020.4',
'torch>=1.7.0',
'torchvision>=0.8.2',
'tqdm>=4.53.0',
'scikit-learn>=0.20.0',
'scipy>=1.5.4'
],
license='MIT',
packages=setuptools.find_packages(exclude=['dataset_preprocessing', 'examples', 'examples.models', 'examples.models.bert', 'examples.data_augmentation']),
classifiers=[
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Intended Audience :: Science/Research',
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
],
python_requires='>=3.6',
)