ref: 38f3d043459f14d29f0e9422434ee8bfef70110c
parent: 746d14b2100cb11267b196764a4026b54a085efd
author: Paul Brossier <piem@piem.org>
date: Thu Mar 23 12:54:34 EDT 2017
setup.py: clarify pip/aubio versions
--- a/setup.py
+++ b/setup.py
@@ -6,12 +6,12 @@
# function to generate gen/*.{c,h}
from this_version import get_aubio_version, get_aubio_pyversion
-__version__ = get_aubio_version()
-__pip_version__ = get_aubio_pyversion()
+__version__ = get_aubio_pyversion()
+__aubio_version__ = get_aubio_version()
include_dirs = []
library_dirs = []
-define_macros = [('AUBIO_VERSION', '%s' % __version__)]
+define_macros = [('AUBIO_VERSION', '%s' % __aubio_version__)]
extra_link_args = []
include_dirs += [ 'python/ext' ]
@@ -54,7 +54,7 @@
]
distrib = setup(name='aubio',
- version = __pip_version__,
+ version = __version__,
packages = ['aubio'],
package_dir = {'aubio':'python/lib/aubio'},
scripts = ['python/scripts/aubiocut'],