setup.py: define AUBIO_VERSION
[aubio.git] / setup.py
index 9f55848..d62f9ed 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ if AUBIO_VERSION_STATUS is not None:
 
 include_dirs = []
 library_dirs = []
-define_macros = []
+define_macros = [('AUBIO_VERSION', '"%s"' % __version__)]
 extra_link_args = []
 
 include_dirs += [ 'python/ext' ]