Mercurial > touhou
comparison setup.py @ 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 | 13789ac717c4 |
children | 6c40f5840a06 |
comparison
equal
deleted
inserted
replaced
628:df3c4ef5f2cc | 629:26d9d251f658 |
---|---|
170 if not os.path.exists(temp_data_dir): | 170 if not os.path.exists(temp_data_dir): |
171 os.symlink(os.path.join(current_dir, 'data'), temp_data_dir) | 171 os.symlink(os.path.join(current_dir, 'data'), temp_data_dir) |
172 | 172 |
173 | 173 |
174 setup(name='PyTouhou', | 174 setup(name='PyTouhou', |
175 version='0.1', | 175 version=check_output(['hg', 'heads', '.', '-T', '{rev}']).decode(), |
176 author='Thibaut Girka', | 176 author='Thibaut Girka', |
177 author_email='thib@sitedethib.com', | 177 author_email='thib@sitedethib.com', |
178 url='http://pytouhou.linkmauve.fr/', | 178 url='http://pytouhou.linkmauve.fr/', |
179 license='GPLv3', | 179 license='GPLv3', |
180 py_modules=py_modules, | 180 py_modules=py_modules, |