2015-03-01 20:54:43 +08:00
|
|
|
# create virtual environment
|
|
|
|
PYTHON = python2.7
|
|
|
|
|
|
|
|
.env:
|
|
|
|
virtualenv .env -p $(PYTHON)
|
|
|
|
|
|
|
|
# install all needed for development
|
|
|
|
develop: .env
|
2015-03-02 15:55:57 +08:00
|
|
|
.env/bin/pip install -e . tox
|
2015-03-01 20:54:43 +08:00
|
|
|
|
|
|
|
# clean the development envrironment
|
|
|
|
clean:
|
|
|
|
-rm -rf .env
|