forked from WZBSocialScienceCenter/tmtoolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 1.17 KB
/
tox.ini
File metadata and controls
37 lines (34 loc) · 1.17 KB
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
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
#
# The following environments are defined:
#
# - Python 3.8 to 3.11 with dependency sets:
# - minimal
# - recommended
# - recommendedextra
# - full
#
# The following dependency sets are defined, which specify the "extras_require" section to choose when installing
# via setup.py:
#
# - minimal: no additional extras
# - recommended: textproc and wordclouds
# - recommendedextra: recommended and all topic modeling packages (lda, scikit-learn, gensim)
# - full: recommendedextra and textproc_extra, topic_modeling_eval_extra, rinterop
#
[tox]
envlist =
py{38,39,310,311}-{minimal,recommended,recommendedextra,full}
[testenv]
deps = .[test]
extras =
recommended: recommended
recommendedextra: recommended, lda, sklearn, gensim
full: recommended, lda, sklearn, gensim, textproc_extra, topic_modeling_eval_extra, rinterop
commands_pre =
- python -m tmtoolkit setup all --no-update
commands =
pytest -v {posargs}