Commit d5aab841 authored by Valentin Samir's avatar Valentin Samir

Get version in Makefile directly from setup.py

parent 494da629
.PHONY: clean build install dist test_venv
VERSION=0.4
VERSION=`python setup.py -V`
build:
python setup.py build
......@@ -36,7 +36,6 @@ test_venv/cas:
sed -i "s@url(r'^admin/', admin.site.urls),@url(r'^admin/', admin.site.urls),\n url(r'^', include('cas_server.urls', namespace='cas_server')),@" test_venv/cas/cas/urls.py
test_venv/bin/python test_venv/cas/manage.py migrate
test_venv/bin/python test_venv/cas/manage.py createsuperuser
run_test_server: test_venv test_venv/cas
test_venv/bin/python test_venv/cas/manage.py runserver
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment