-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
67 lines (54 loc) · 1.48 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
60
61
62
63
64
65
66
67
from setuptools import find_packages
from setuptools import setup
from tensorcross.version import __version__
CLASSIFIERS = """\
License :: OSI Approved :: MIT License
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
"""
DISTNAME = "tensorcross"
AUTHORS = "Jan Schaffranek, Saif Al-Dilaimi"
DESCRIPTION = (
"Cross Validation, Grid Search and Random Search "
"for TensorFlow Datasets."
)
LICENSE = "MIT"
README = (
"Cross Validation, Grid Search and Random Search for TensorFlow "
"Datasets. For more information see here: "
"https://github.com/franneck94/TensorCross"
)
VERSION = __version__
ISRELEASED = False
MIN_PYTHON_VERSION = "3.9"
INSTALL_REQUIRES = [
"tensorflow>=2.13",
"keras>=3.0",
"numpy",
"scipy",
"scikit-learn>=1.0",
]
PACKAGES = find_packages(include=["tensorcross", "tensorcross.*"])
metadata = dict( # noqa: C408
name=DISTNAME,
version=VERSION,
long_description=README,
packages=PACKAGES,
author=AUTHORS,
python_requires=f">={MIN_PYTHON_VERSION}",
install_requires=INSTALL_REQUIRES,
description=DESCRIPTION,
classifiers=[CLASSIFIERS],
license=LICENSE,
)
def setup_package() -> None:
setup(**metadata)
if __name__ == "__main__":
setup_package()