This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpyproject.toml
67 lines (57 loc) · 1.58 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
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
# See configuration details in https://github.com/pypa/setuptools_scm
version_scheme = "release-branch-semver"
local_scheme = "node-and-date"
normalize = false
root = "."
relative_to = "setup.py"
write_to = 'culebrONT/_version.py'
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py{38,39}
skip_missing_interpreters = True
skipsdist=False
isolated_build=True
[gh-actions]
python = 3.8: py38
[testenv:py{38,39}]
description = Run the install in Python 3.8
skip_install = False
changedir={envdir}
whitelist_externals =
bash
echo
envdir =
py38: {toxworkdir}/py38
py39: {toxworkdir}/py39
setenv =
PATH = {toxinidir}{:}{env:PATH}
commands =
culebrONT --help
bash -ec 'echo `pwd`'
bash -ec 'CPDIR="./lib/python3.8/site-packages/culebrONT/containers/"; DIR="/usr/local/culebrONT/Containers"; if [[ -d $DIR ]]; then ls $DIR; echo "copy Containers files in $DIR to $CPDIR"; ln -sf $DIR/* $CPDIR; fi'
culebrONT install_local
[run]
description = Run Installation culebrONT install_local
changedir={envdir}
skipsdist=True
skip_install=True
commands =
culebrONT test_install -d test
culebrONT run_local --threads 14 --config {posargs} --singularity-args '--bind /builds:/builds'
[testenv:py38-run]
description = Run workflow pass on args to culebrONT
envdir =
py38: {toxworkdir}/py38
py39: {toxworkdir}/py39
setenv =
PATH = {toxinidir}{:}{env:PATH}
changedir={envdir}
skipsdist=True
skip_install=True
commands = {[run]commands}
"""