From 99b4da48dce1d4f0585295ca29e883b4486c4782 Mon Sep 17 00:00:00 2001 From: Alex Clark Date: Sun, 7 Jun 2015 09:59:46 -0400 Subject: [PATCH] Clean up Makefile [ci skip] - Rename ``pre`` -> ``release-test`` - Remove virtualenv creation and call ``install-req`` from ``release-test`` --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 004b807ea..bcc02d13c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: pre clean install install-req test inplace coverage help docs livedocs +.PHONY: release-test clean install install-req test inplace coverage help docs livedocs help: @echo "Please use \`make ' where is one of" @@ -11,12 +11,12 @@ help: @echo " docs make html docs" @echo " docserver run an http server on the docs directory" @echo " install-req install documentation and test dependencies" - @echo " upload upload sdists to PyPI" - @echo " upload-test upload sdists to test.pythonpackages.com" + @echo " upload build and upload sdists to PyPI" + @echo " upload-test build and upload sdists to test.pythonpackages.com" + @echo " release-test run code and package tests before release" -pre: - virtualenv . - pip install -r requirements.txt +release-test: + $(MAKE) install-req python setup.py develop python selftest.py nosetests Tests/test_*.py