Add install-venv makefile target [ci skip]

- Creates a venv, runs pip install
This commit is contained in:
Alex Clark 2016-03-24 07:44:42 -04:00
parent 3af794bc05
commit 74493e1616

View File

@ -33,6 +33,7 @@ help:
@echo " inplace make inplace extension" @echo " inplace make inplace extension"
@echo " install make and install" @echo " install make and install"
@echo " install-req install documentation and test dependencies" @echo " install-req install documentation and test dependencies"
@echo " install-venv install in virtualenv"
@echo " release-test run code and package tests before release" @echo " release-test run code and package tests before release"
@echo " test run tests on installed pillow" @echo " test run tests on installed pillow"
@echo " upload build and upload sdists to PyPI" @echo " upload build and upload sdists to PyPI"
@ -48,6 +49,8 @@ install:
install-req: install-req:
pip install -r requirements.txt pip install -r requirements.txt
install-venv: venv install-req
release-test: release-test:
$(MAKE) install-req $(MAKE) install-req
python setup.py develop python setup.py develop
@ -76,5 +79,8 @@ upload-test:
upload: upload:
python setup.py sdist --format=gztar,zip upload python setup.py sdist --format=gztar,zip upload
venv:
virtualenv .
readme: readme:
viewdoc viewdoc