from python.lib.moresetuptools import *
# function to generate gen/*.{c,h}
from python.lib.gen_external import generate_external, header, output_path
+from Version import get_aubio_version, get_aubio_pyversion
-__version__ = get_aubio_pyversion()
+__version__ = get_aubio_version()
+__pip_version__ = get_aubio_pyversion()
include_dirs = []
library_dirs = []
]
distrib = setup(name='aubio',
- version = __version__,
+ version = __pip_version__,
packages = ['aubio'],
package_dir = {'aubio':'python/lib/aubio'},
scripts = ['python/scripts/aubiocut'],
platforms = 'any',
classifiers = classifiers,
install_requires = ['numpy'],
+ setup_requires = ['numpy'],
cmdclass = {
'clean': CleanGenerated,
'build_ext': build_ext,
},
test_suite = 'nose2.collector.collector',
+ extras_require = {
+ 'tests': ['numpy'],
+ },
)