-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
69 lines (62 loc) · 2.16 KB
/
Copy pathsetup.py
File metadata and controls
69 lines (62 loc) · 2.16 KB
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
68
69
#!/usr/bin/env python
"""The setup script."""
import sys, re
from setuptools import setup, find_packages
try:
with open("README.md") as readme_file:
readme = readme_file.read()
except Exception as error:
readme = "No README information found."
sys.stderr.write("Warning: Could not open '%s' due %s\n" % ("README.md", error))
try:
filepath = "permranker/version.py"
version_file = open(filepath)
(__version__,) = re.findall('__version__ = "(.*)"', version_file.read())
except Exception as error:
__version__ = "0.0.1"
sys.stderr.write("Warning: Could not open '%s' due %s\n" % (filepath, error))
requirements = [
"black",
"numpy>=1.26.4",
"pandas>=2.0.0",
"pytest",
"pytest-cov",
"pyyaml",
"setuptools>=75.8.2",
"tqdm",
"typer",
]
if __name__ == "__main__":
setup(
name="permranker",
version=__version__,
author="Spyridon Bakas, Siddhesh Thakur, Jimit Doshi, Sarthak Pati",
author_email="spbakas@iu.edu",
python_requires=">=3.12",
packages=find_packages(),
entry_points={
"console_scripts": [
"ranker=permranker.cli.run:app",
],
},
classifiers=[
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: System :: Benchmark",
],
description=("Robust ranking of different methods using multiple metrics."),
install_requires=requirements,
license="Apache-2.0",
long_description=readme,
long_description_content_type="text/markdown",
include_package_data=True,
keywords="machine learning, benchmarking, ranking, metrics, permutation test",
zip_safe=False,
)