-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
40 lines (34 loc) · 1.24 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
from setuptools import setup, find_packages
from pathlib import Path
here = Path(__file__).parent.resolve()
package_dir = here / "mlgauge"
# Packages required for this module to be executed
def list_reqs(fname="requirements.txt"):
with open(fname) as fd:
return fd.read().splitlines()
# Get the long description from the README file
long_description = open(here / "README.md").read()
# Version
version = open(package_dir / "VERSION").read().strip()
setup(
name="mlgauge",
version=version,
description="Library to compare machine learning methods across datasets",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/SuryaThiru/mlgauge",
author="Surya Krishnamurthy",
packages=find_packages(exclude=("tests")),
package_data={"mlgauge": ["VERSION"]},
include_package_data=True,
license="License :: OSI Approved :: MIT License",
install_requires=list_reqs(),
extras_requre=["pytest", "black", "flake8"],
keywords=["machine learning", "benchmark", "pmlb"],
classifiers=[
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Topic :: Scientific/Engineering",
"Topic :: Utilities",
],
)