-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
60 lines (56 loc) · 1.98 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
# Source: https://github.com/hmeine/qimage2ndarray/blob/master/setup.py
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
install_requires: list[str] = [
"setuptools",
"SimpleITK",
"numpy",
"argparse",
"opencv-python",
"pytest",
"PyQt6",
"qimage2ndarray",
"screeninfo",
]
"""All required (i.e., for functionality) dependencies that are installed when running `pip install NeuroRuler`.
Non-functional (e.g., formatting, documentation) dependencies listed in requirements.txt."""
setup(
name="NeuroRuler",
# For current version number, see
# https://pypi.org/project/NeuroRuler/
version="1.0.1",
description="Cross-platform program that calculates head circumference from MRI data (`.nii`, `.nii.gz`, `.nrrd`).",
# Cannot use multiple authors
# https://stackoverflow.com/questions/9999829/how-to-specify-multiple-authors-emails-in-setup-py
author="COMP523 Team D",
author_email="[email protected]",
url="https://github.com/NIRALUser/NeuroRuler",
download_url="https://github.com/NIRALUser/NeuroRuler/releases",
keywords=[
"MRI",
"NIfTI",
"NRRD",
"brain",
"circumference",
"PyQt6",
],
install_requires=install_requires,
tests_require=install_requires + ["tox", "pytest", "pytest-cov"],
# See https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
package_dir={"NeuroRuler": "NeuroRuler"},
packages=find_packages(),
package_data={
"NeuroRuler": ["GUI/*.ui", "GUI/static/*", "GUI/themes/*/*", "../*.json"]
},
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Topic :: Multimedia :: Graphics",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)