-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
43 lines (35 loc) · 1009 Bytes
/
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
"""Script for packaging the project."""
from pathlib import Path
from setuptools import setup, find_packages
PACKAGE_NAME = "tests_wo_split"
def get_version():
""""Convenient function to get the version of this package."""
ns = {}
version_path = Path(PACKAGE_NAME) / 'version.py'
if not version_path.is_file():
return
with open(version_path) as version_file:
exec(version_file.read(), ns)
return ns['__version__']
dependencies = (
"cvxopt",
"matplotlib",
"numpy",
"pyyaml",
"scipy",
"sklearn",
"torch"
)
setup(
name=PACKAGE_NAME,
version=get_version(),
packages=find_packages(),
description="Learning kernel tests without data splitting.",
url="https://github.com/MPI-IS/tests-wo-splitting",
author="Jonas Kübler",
author_email="[email protected]",
python_requires=">=3.5",
install_requires=dependencies,
long_description=open('README.md').read(),
license="MIT License",
)