-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpyproject.toml
117 lines (100 loc) · 3.31 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
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.2,<4"]
[project]
authors = [{ name = "Dan Søndergaard", email = "[email protected]" }]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python",
"Topic :: System :: Distributed Computing",
"Topic :: Utilities",
]
dynamic = ["version", "description"]
name = "gwf"
readme = "README.rst"
requires-python = ">=3.8"
[project.scripts]
gwf = "gwf.cli:main"
[project.entry-points."gwf.plugins"]
cancel = "gwf.plugins.cancel:cancel"
clean = "gwf.plugins.clean:clean"
config = "gwf.plugins.config:config"
info = "gwf.plugins.info:info"
logs = "gwf.plugins.logs:logs"
run = "gwf.plugins.run:run"
status = "gwf.plugins.status:status"
touch = "gwf.plugins.touch:touch"
workers = "gwf.plugins.workers:workers"
[project.entry-points."gwf.backends"]
local = "gwf.backends.local:setup"
sge = "gwf.backends.sge:setup"
slurm = "gwf.backends.slurm:setup"
lsf = "gwf.backends.lsf:setup"
pbs = "gwf.backends.pbs:setup"
[project.urls]
Home = "https://gwf.app"
[tool.pixi.project]
channels = ["conda-forge"]
platforms = ["linux-64", "linux-aarch64"]
[tool.pixi.dependencies]
click = "*"
click-plugins = "*"
attrs = "*"
prettyprinter = "*"
[tool.pixi.environments]
default = { solve-group = "default" }
dev = { features = ["dev", "test"], solve-group = "default" }
test-py38 = ["py38", "test"]
test-py39 = ["py39", "test"]
test-py310 = ["py310", "test"]
test-py311 = ["py311", "test"]
test-py312 = ["py312", "test"]
test-py313 = ["py313", "test"]
[tool.pixi.feature.dev.dependencies]
ruff = ">=0.9.4,<0.10"
sphinx = ">=8.1.3,<9"
sphinx-autobuild = ">=2024.10.3,<2025"
furo = ">=2024.8.6,<2025"
flit = ">=3.10.1,<4"
anaconda-client = ">=1.12.3,<2"
conda-build = ">=25.1.2,<26"
[tool.pixi.feature.dev.pypi-dependencies]
gwf = { path = ".", editable = true }
[tool.pixi.feature.dev.tasks]
format = "ruff format $PIXI_PROJECT_ROOT/src"
lint = "ruff check $PIXI_PROJECT_ROOT/src"
clean = "clean-workspace"
build = { cmd = "conda build .", cwd = "conda/" }
publish = { cmd = "anaconda --token ${ANACONDA_TOKEN_GWFORG} upload -u gwforg $(conda-build --output .)", cwd = "conda/" }
build-docs = { cmd = "sphinx-build -b dirhtml . _build/dirhtml", cwd = "docs/" }
preview-docs = { cmd = "sphinx-autobuild --open-browser -b dirhtml . _build/dirhtml", cwd = "docs/" }
[tool.pixi.feature.test.dependencies]
pytest = ">=8.3.4,<9"
pytest-click = ">=1.1.0,<2"
pytest-mock = ">=3.14.0,<4"
pytest-runner = ">=6.0.0,<7"
pytest-asyncio = ">=0.23,<0.26"
[tool.pixi.feature.test.pypi-dependencies]
gwf = { path = ".", editable = true }
[tool.pixi.feature.py38.dependencies]
python = "3.8.*"
[tool.pixi.feature.py39.dependencies]
python = "3.9.*"
[tool.pixi.feature.py310.dependencies]
python = "3.10.*"
[tool.pixi.feature.py311.dependencies]
python = "3.11.*"
[tool.pixi.feature.py312.dependencies]
python = "3.12.*"
[tool.pixi.feature.py313.dependencies]
python = "3.13.*"
[tool.pixi.feature.test.tasks]
test = "pytest tests/"
[tool.pytest.ini_options]
asyncio_default_fixture_loop_scope = "function"