From 68a981289c180ab2f3ea3060eb2b1ba5aa3002b2 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sat, 4 Jan 2020 13:39:56 +0000 Subject: Just rely on pep517.check. --- tox.ini | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'tox.ini') 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 -- cgit v1.2.1