forked from experimaestro/experimaestro-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
125 lines (106 loc) · 3.3 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[tool.poetry]
name = "experimaestro"
authors = ["Benjamin Piwowarski <[email protected]>"]
description = '"Experimaestro is a computer science experiment manager"'
readme = "README.md"
license = "GPL-3"
keywords = ["experiment manager"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
]
include = [
"src/experimaestro/server/data/*",
"src/experimaestro/sphinx/static/experimaestro.css",
"src/experimaestro/mkdocs/style.css"
]
version = "0.0.0"
repository = "https://github.com/experimaestro/experimaestro-python"
documentation = "https://experimaestro-python.readthedocs.io/"
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "semver"
dirty = true
format-jinja = "{% if distance == 0 %}{{ base }}{% else %}{{ base }}+{{ distance }}.{{ commit }}{% if dirty %}.dirty{% endif %}{% endif %}"
[build-system]
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry.dependencies]
python = "^3.8"
click = ">=8"
omegaconf = "^2.3"
typing-extensions = {version = ">=4.2", markers = "python_version < \"3.12\""}
attrs = "^23.1.0"
fasteners = "^0.19"
pyyaml = "^6.0.1"
psutil = "^5.9.5"
pytools = "^2023.1.1"
tqdm = "^4.66.1"
docstring-parser = "^0.15"
termcolor = ">=2.3"
requests = "^2.31"
sortedcontainers = "^2.4"
pyparsing = "^3.1"
humanfriendly = "^10"
huggingface-hub = ">0.17"
gevent = "^23.9"
gevent-websocket = "^0.10"
flask = "^2.3"
flask-socketio = "^5.3"
arpeggio = "^2"
watchdog = "^2"
marshmallow = "^3.20"
decorator = "^5"
rpyc = ">=5,<7"
[tool.poetry.group.ssh]
optional = true
[tool.poetry.group.ssh.dependencies]
paramiko = "^3.3"
fabric = "^3"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
docutils = "^0.18"
Pygments = "^2.15"
[tool.poetry.scripts]
experimaestro = "experimaestro.__main__:main"
[tool.poetry.plugins."mkdocs.plugins"]
experimaestro = "experimaestro.mkdocs:Documentation"
[tool.poetry.plugins."experimaestro.process"]
local = "experimaestro.connectors.local:LocalProcess"
slurm = "experimaestro.launchers.slurm:BatchSlurmProcess"
[tool.poetry.plugins."experimaestro.connectors"]
local = "experimaestro.connectors.local:LocalConnector"
ssh = "experimaestro.connectors.ssh:SshConnector"
[tool.poetry.plugins."experimaestro.tokens"]
unix = "experimaestro.tokens:CounterToken"
[tool.distutils.bdist_wheel]
universal = true
[tool.distutils.sdist]
formats = "zip"
[tool.pydocstyle]
match-dir = '(?!tests)(?!resources)(?!docs)[^\.].*'
match = '(?!test)(?!setup)[^\._].*\.py'
inherit = "false"
ignore = "D200, D203, D213, D406, D407 # Google conventions"
[tool.flake8]
doctests = "True"
exclude = ".git, .eggs, __pycache__, tests/, docs/, build/, dist/, app/"
max-line-length = "88"
# See https://github.com/PyCQA/pycodestyle/issues/373
extend-ignore = "E203"
[tool.mypy]
python_version = "3.9"
warn_unused_ignores = true
[tool.commitizen]
name = "cz_conventional_commits"
version = "1.5.14"
changelog_start_rev = "0.15.0"
tag_format = "v$version"
update_changelog_on_bump = true