# HG changeset patch # User Emmanuel Gil Peyrot # Date 1430825576 -7200 # Node ID 26d9d251f6585a40fc4581c20b169ee6d9bf68b9 # Parent df3c4ef5f2cc78bf53e6e63721f228f421d9d81b Use the current revision as the version number. diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -172,7 +172,7 @@ if not os.path.exists(temp_data_dir): 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/',