changeset 629:26d9d251f658

Use the current revision as the version number.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 05 May 2015 13:32:56 +0200
parents df3c4ef5f2cc
children 6c40f5840a06
files setup.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Sun Apr 19 19:08:39 2015 +0200
+++ b/setup.py	Tue May 05 13:32:56 2015 +0200
@@ -172,7 +172,7 @@
 
 
 setup(name='PyTouhou',
-      version='0.1',
+      version=check_output(['hg', 'heads', '.', '-T', '{rev}']).decode(),
       author='Thibaut Girka',
       author_email='thib@sitedethib.com',
       url='http://pytouhou.linkmauve.fr/',