forked from aiidateam/aiida-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (38 loc) · 1.21 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
[build-system]
requires = ["setuptools>=40.8.0,<50", "wheel", "reentry~=1.3", "fastentrypoints~=0.12"]
build-backend = "setuptools.build_meta:__legacy__"
[tool.tox]
# To use tox, see https://tox.readthedocs.io
# Simply pip or conda install tox
# If you use conda, you may also want to install tox-conda
# then run `tox` or `tox -e py37 -- {pytest args}`
# To ensure rebuild of the tox environment,
# either simple delete the .tox folder or use `tox -r`
legacy_tox_ini = """
[tox]
envlist = py37-django
[testenv:py{36,37,38}-{django,sqla}]
deps =
py36: -rrequirements/requirements-py-3.6.txt
py37: -rrequirements/requirements-py-3.7.txt
py38: -rrequirements/requirements-py-3.8.txt
setenv =
django: AIIDA_TEST_BACKEND = django
sqla: AIIDA_TEST_BACKEND = sqlalchemy
commands = pytest {posargs}
[testenv:py{36,37,38}-docs-{clean,update}]
deps =
py36: -rrequirements/requirements-py-3.6.txt
py37: -rrequirements/requirements-py-3.7.txt
py38: -rrequirements/requirements-py-3.8.txt
setenv =
update: RUN_APIDOC = False
changedir = docs
whitelist_externals = make
commands =
clean: make clean
make debug
[testenv:py{36,37,38}-pre-commit]
extras = all
commands = pre-commit run {posargs}
"""