Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r38f3d04 r6264d30  
    33import sys, os.path, glob
    44from setuptools import setup, Extension
    5 from python.lib.moresetuptools import build_ext, CleanGenerated
     5from python.lib.moresetuptools import *
    66# function to generate gen/*.{c,h}
    7 from this_version import get_aubio_version, get_aubio_pyversion
     7from python.lib.gen_external import generate_external, header, output_path
    88
    99__version__ = get_aubio_pyversion()
    10 __aubio_version__ = get_aubio_version()
    1110
    1211include_dirs = []
    1312library_dirs = []
    14 define_macros = [('AUBIO_VERSION', '%s' % __aubio_version__)]
     13define_macros = [('AUBIO_VERSION', '%s' % __version__)]
    1514extra_link_args = []
    1615
    1716include_dirs += [ 'python/ext' ]
     17include_dirs += [ output_path ] # aubio-generated.h
    1818try:
    1919    import numpy
Note: See TracChangeset for help on using the changeset viewer.