forked from constantinpape/torch-em
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (25 loc) · 824 Bytes
/
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
import runpy
from setuptools import setup, find_packages
__version__ = runpy.run_path("torch_em/__version__.py")["__version__"]
# NOTE requirements are not all available via pip, you need to use conda,
# see 'environment_gpu.yaml' / 'environment_cpu.yaml'
requires = [
"torch",
"h5py"
]
setup(
name="torch_em",
packages=find_packages(exclude=["test"]),
version=__version__,
author="Constantin Pape",
install_requires=requires,
url="https://github.com/constantinpape/torch-em",
license="MIT",
entry_points={
"console_scripts": [
"torch_em.export_bioimageio_model = torch_em.util.modelzoo:main",
"torch_em.validate_checkpoint = torch_em.util.validation:main",
"torch_em.submit_slurm = torch_em.util.submit_slurm:main",
]
}
)