Skip to content

Commit

Permalink
build: move tox config to pyproject.tml
Browse files Browse the repository at this point in the history
  • Loading branch information
bolinocroustibat committed Jul 15, 2024
1 parent 1421956 commit 3668959
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 20 deletions.
25 changes: 25 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,28 @@ dev-dependencies = [
[tool.setuptools]
include-package-data = false
packages = ["udata", "tasks"]

# Tox (http://tox.testrun.org/) 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.

[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py37, doc
[testenv]
commands =
python setup.py develop
nosetests udata
install_command = pip3 install --allow-external webassets --allow-unverified webassets --pre {opts} {packages}
deps =
-r{toxinidir}/requirements/install.pip
-r{toxinidir}/requirements/test.pip
[testenv:doc]
changedir = doc
deps = sphinx
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
"""
20 changes: 0 additions & 20 deletions tox.ini

This file was deleted.

0 comments on commit 3668959

Please sign in to comment.