setup.py
changeset 38 d1bc73ce855a
parent 36 dfef7a018d1d
child 40 8c32ea41b391
--- a/setup.py	Wed Jan 07 12:38:57 2015 +0100
+++ b/setup.py	Mon Jan 12 12:00:30 2015 +0100
@@ -1,8 +1,12 @@
 from setuptools import setup, find_packages
 
+# Will set CURRENT_VERSION to the current version string and VERSION to the
+# current version tuple
+exec(compile(open("src/catedit/version.py"), "version.py", "exec"))
+
 setup(
     name='catedit',
-    version="0.1.2",
+    version=CURRENT_VERSION,
     url='http://www.iri.centrepompidou.fr',
     author='I.R.I.',
     author_email='dev@iri.centrepompidou.fr',