-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (47 loc) · 1.2 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
#!/usr/bin/env python
# coding=utf-8
"""The setup script."""
import ast
from setuptools import setup
with open("itsper/__init__.py") as f:
for line in f:
if line.startswith("__version__"):
version = ast.parse(line).body[0].value.s # type: ignore
break
with open("README.rst") as readme_file:
long_description = readme_file.read()
install_requires = [
"numpy>=1.25.2",
"pillow>=9.5.0",
"dlup>=0.5.2",
"shapely",
"pathlib",
"typing",
"dlup==0.5.2",
"pyfiglet",
"rich",
]
setup(
author="Ajey Pai Karkala",
long_description=long_description,
python_requires=">=3.10",
classifiers=[
"Development Status :: 4 - Beta",
"Natural Language :: English",
"Programming Language :: Python :: 3",
],
entry_points={
"console_scripts": [
"itsper=itsper.cli:main",
],
},
description="An easy command line interface to compute the ITSP biomarker",
install_requires=install_requires,
license="MIT License",
include_package_data=True,
name="itsper",
test_suite="tests",
url="https://github.com/NKI-AI/itsper",
py_modules=["itsper"],
version=version,
)