Changes in setup.py [8e2f36a:38f3d04]
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r8e2f36a r38f3d04 3 3 import sys, os.path, glob 4 4 from setuptools import setup, Extension 5 from python.lib.moresetuptools import *5 from python.lib.moresetuptools import build_ext, CleanGenerated 6 6 # function to generate gen/*.{c,h} 7 from python.lib.gen_external import generate_external, header, output_path7 from this_version import get_aubio_version, get_aubio_pyversion 8 8 9 9 __version__ = get_aubio_pyversion() 10 __aubio_version__ = get_aubio_version() 10 11 11 12 include_dirs = [] 12 13 library_dirs = [] 13 define_macros = [('AUBIO_VERSION', '%s' % __ version__)]14 define_macros = [('AUBIO_VERSION', '%s' % __aubio_version__)] 14 15 extra_link_args = [] 15 16 16 17 include_dirs += [ 'python/ext' ] 17 include_dirs += [ output_path ] # aubio-generated.h18 18 try: 19 19 import numpy … … 58 58 packages = ['aubio'], 59 59 package_dir = {'aubio':'python/lib/aubio'}, 60 scripts = ['python/scripts/aubiocut'], 60 61 ext_modules = [aubio_extension], 61 62 description = 'a collection of tools for music analysis', … … 75 76 'build_ext': build_ext, 76 77 }, 77 entry_points = {78 'console_scripts': [79 'aubio = aubio.cmd:main',80 'aubiocut = aubio.cut:main',81 ],82 },83 78 test_suite = 'nose2.collector.collector', 84 79 extras_require = {
Note: See TracChangeset
for help on using the changeset viewer.