From fd2e386bcb5deafd76589658cabd94a50ea68349 Mon Sep 17 00:00:00 2001 From: Konstantin Stepanov Date: Thu, 23 Dec 2010 17:49:04 +0200 Subject: [PATCH] version from git filters --- Makefile | 3 --- dbuscron/__init__.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a3456af..9e3cdc4 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,7 @@ BINFILES = dbuscron.py dbuscrontab.py migrate-dbus-scripts.py compile: .py.pyo .py.pyo: - cp ./dbuscron/__init__.py ./dbuscron/__init__.py.bak - sed -i -e "s/%VERSION%/`git describe --tags`/" ./dbuscron/__init__.py python$(PYVERSION) -O -m compileall ./dbuscron - mv -f ./dbuscron/__init__.py.bak ./dbuscron/__init__.py install: compile for f in $(BINFILES); do \ diff --git a/dbuscron/__init__.py b/dbuscron/__init__.py index 8b979e0..479898b 100644 --- a/dbuscron/__init__.py +++ b/dbuscron/__init__.py @@ -1,5 +1,5 @@ -__version__ = "%VERSION%" +__version__ = "dev" from dbuscron.bus import DbusRule, DbusBus from dbuscron.command import Command, Commands -- 1.7.9.5