-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
72 lines (64 loc) · 2.23 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
68
69
70
71
72
# TODO delete this oonce all the relevant information is in the toml file
# #!/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 = "eReg/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.22.0",
# "pyyaml",
# "pytest",
# "pytest-cov",
# "requests",
# "SimpleITK!=2.0.*",
# "SimpleITK!=2.2.1", # https://github.com/mlcommons/GaNDLF/issues/536
# "scikit-image",
# "setuptools",
# "tqdm",
# ]
# if __name__ == "__main__":
# setup(
# name="eReg",
# version=__version__,
# author="FETS-AI",
# author_email="admin@fets.ai",
# python_requires=">=3.8",
# packages=find_packages(),
# entry_points={
# "console_scripts": [
# "register=eReg.cli.run:main",
# ],
# },
# 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.8",
# "Programming Language :: Python :: 3.9",
# "Programming Language :: Python :: 3.10",
# "Topic :: Scientific/Engineering :: Medical Science Apps.",
# ],
# description=("Template python project."),
# install_requires=requirements,
# license="Apache-2.0",
# long_description=readme,
# long_description_content_type="text/markdown",
# include_package_data=True,
# keywords="machine learning",
# zip_safe=False,
# )