euscan: drop fixed version dependencies

Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
This commit is contained in:
Corentin Chary
2012-07-24 08:37:31 +02:00
parent 46c2ea6f70
commit 99054971aa
2 changed files with 9 additions and 12 deletions

View File

@ -11,16 +11,10 @@ import os
__author__ = "Corentin Chary (iksaif)"
__email__ = "corentin.chary@gmail.com"
__version__ = "git"
__productname__ = "euscan"
__description__ = "A tool to detect new upstream releases."
if os.path.exists(os.path.join(os.path.dirname(__file__), "..", ".git")):
import git
repo = git.Repo(os.path.join(os.path.dirname(__file__)))
__version__ = "git-%s" % repo.head.commit
else:
__version__ = "git"
# Imports