Get version in Makefile directly from setup.py
This commit is contained in:
parent
494da62935
commit
d5aab8411a
3
Makefile
3
Makefile
@ -1,5 +1,5 @@
|
|||||||
.PHONY: clean build install dist test_venv
|
.PHONY: clean build install dist test_venv
|
||||||
VERSION=0.4
|
VERSION=`python setup.py -V`
|
||||||
|
|
||||||
build:
|
build:
|
||||||
python setup.py build
|
python setup.py build
|
||||||
@ -37,6 +37,5 @@ test_venv/cas:
|
|||||||
test_venv/bin/python test_venv/cas/manage.py migrate
|
test_venv/bin/python test_venv/cas/manage.py migrate
|
||||||
test_venv/bin/python test_venv/cas/manage.py createsuperuser
|
test_venv/bin/python test_venv/cas/manage.py createsuperuser
|
||||||
|
|
||||||
|
|
||||||
run_test_server: test_venv test_venv/cas
|
run_test_server: test_venv test_venv/cas
|
||||||
test_venv/bin/python test_venv/cas/manage.py runserver
|
test_venv/bin/python test_venv/cas/manage.py runserver
|
||||||
|
Loading…
Reference in New Issue
Block a user