From d5aab8411a7441ecfa9073cdffb60aa79a11814d Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Wed, 23 Dec 2015 14:41:31 +0100 Subject: [PATCH] Get version in Makefile directly from setup.py --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8024a2b..ad3a01d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ .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