-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
executable file
·66 lines (60 loc) · 1.93 KB
/
pyproject.toml
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
[tool.poetry]
name = "castor"
version = "0.1.0"
description = "CArdiac SegmenTation with cOnstRaints (CASTOR) project"
authors = ["Nathan Painchaud <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/vitalab/castor"
classifiers=[
"Environment :: Console",
"Natural Language :: English",
# Pick your license as you wish
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
]
packages = [
{ include = "castor" },
]
[tool.poetry.dependencies]
python = "~3.10.6"
torch = "~1.12.0"
torchvision = "~0.13.0"
pytorch-lightning = "~1.7.0"
hydra-core = "~1.2.0"
numpy = "*"
pandas = "*"
h5py = "*"
medpy = "*"
matplotlib = "*"
holoviews = "*"
seaborn = "*"
comet-ml = "*"
vital = { path = "./vital/", develop = false }
[tool.poetry.group.dev.dependencies]
vital = { path = "./vital/", develop = true }
pre-commit = "^2.20.0"
isort = "==5.12.0"
black = "==23.3.0"
flake8 = "==6.0.0"
flake8-docstrings = "==1.7.0"
[tool.poetry.scripts]
castor-runner = "castor.runner:main"
latent-space-manipulation = "castor.apps.autoencoder.latent_space_manipulation:main"
latent-space-local-distribution = "castor.apps.autoencoder.latent_space_local_distribution:main"
latent-space-global-distribution = "castor.apps.autoencoder.latent_space_global_distribution:main"
latent-space-attributes-sweeper = "castor.apps.autoencoder.latent_space_attributes_sweeper:main"
[tool.black]
line-length = 120
exclude = "(.eggs|.git|.hg|.mypy_cache|.nox|.tox|.venv|.svn|_build|buck-out|build|dist)"
[tool.isort]
profile = "black"
line_length = 120
src_paths = ["castor"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"