From 09a73255395d4e751551d0978dc1f8d7ae01e6db Mon Sep 17 00:00:00 2001 From: Dusty DeWeese Date: Thu, 17 Dec 2020 11:40:43 -0800 Subject: [PATCH] Use pip install for tox tests. Signed-off-by: Dusty DeWeese --- tox.ini | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tox.ini b/tox.ini index cc3676dd..63edca4a 100644 --- a/tox.ini +++ b/tox.ini @@ -17,9 +17,7 @@ commands = # This repository uses a Markdown long_description, so the -r flag to # `setup.py check` is not needed. If your project contains a README.rst, # use `python setup.py check -m -r -s` instead. - python setup.py build_ext --antlr-runtime={env:ANTLR4_RUNTIME_TYPE:static} - python setup.py develop - python setup.py check -m -s + pip install -e . --install-option="--antlr-runtime={env:ANTLR4_RUNTIME_TYPE:static}" --no-use-pep517 flake8 --exclude .git,env,dist,build,third_party,.tox . py.test -s tests