summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2020-01-04 13:39:56 +0000
committerJulian Berman <Julian@GrayVines.com>2020-01-04 13:39:56 +0000
commit68a981289c180ab2f3ea3060eb2b1ba5aa3002b2 (patch)
tree13cbcae9911a3aab5670484e0ef7d870a901f220 /tox.ini
parentc532804ed2dfdcdc59e2186763f20abf0ed6b963 (diff)
downloadjsonschema-68a981289c180ab2f3ea3060eb2b1ba5aa3002b2.tar.gz
Just rely on pep517.check.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini20
1 files changed, 0 insertions, 20 deletions
diff --git a/tox.ini b/tox.ini
index ed64b3f..2eedfc5 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,11 +15,7 @@ changedir =
setenv =
JSON_SCHEMA_TEST_SUITE = {toxinidir}/json
whitelist_externals =
- python2.7
mkdir
- rm
- sh
- virtualenv
commands =
perf,tests: {envpython} -m pip install '{toxinidir}[format]'
tests_nongpl: {envpython} -m pip install '{toxinidir}[format_nongpl]'
@@ -32,23 +28,7 @@ commands =
perf: {envpython} {toxinidir}/jsonschema/benchmarks/json_schema_test_suite.py --inherit-environ JSON_SCHEMA_TEST_SUITE --output {envtmpdir}/benchmarks/json_schema_test_suite.json
# Check to make sure that releases build and install properly
- build: virtualenv --quiet --python=python2.7 {envtmpdir}/venv
- build: {envtmpdir}/venv/bin/python -m pip install --quiet wheel
-
- build: {envtmpdir}/venv/bin/python {toxinidir}/setup.py --quiet bdist_wheel --dist-dir={envtmpdir}/wheel
- build: sh -c '{envpython} -m pip install --quiet --upgrade --force-reinstall {envtmpdir}/wheel/jsonschema*.whl'
-
- build: python2.7 {toxinidir}/setup.py --quiet sdist --dist-dir={envtmpdir}/sdist --format=gztar,zip
- build: sh -c '{envpython} -m pip install --quiet --upgrade --force-reinstall {envtmpdir}/sdist/jsonschema*.tar.gz'
- build: sh -c '{envpython} -m pip install --quiet --upgrade --force-reinstall {envtmpdir}/sdist/jsonschema*.zip'
-
build: {envpython} -m pep517.check {toxinidir}
-
- # FIXME: This has side effects! But it's not my fault... I can't
- # figure out yet how to get setuptools to not create this directory
- # here yet. But whatever, probably this will change to pep517.build
- # soon anways.
- build: rm -rf {toxinidir}/jsonschema.egg-info
deps =
build: pep517