-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
48 lines (42 loc) · 1.28 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
import io
from setuptools import setup, find_packages
from sotabencheval.version import __version__
name = "sotabencheval"
author = "Atlas ML"
author_email = "[email protected]"
license = "Apache-2.0"
url = "https://sotabench.com"
description = (
"Easily benchmark Machine Learning models on selected tasks and datasets"
)
def get_requirements():
with io.open("requirements.txt") as f:
return [
line.strip()
for line in f.readlines()
if not line.strip().startswith("#")
]
setup(
name=name,
version=__version__,
author=author,
author_email=author_email,
maintainer=author,
maintainer_email=author_email,
description=description,
long_description=io.open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
url=url,
platforms=["Windows", "POSIX", "MacOSX"],
license=license,
packages=find_packages(),
include_package_data=True,
install_requires=get_requirements(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
)