- Timestamp:
- Mar 12, 2017, 11:26:24 AM (7 years ago)
- Branches:
- sampler
- Children:
- bde49c4a
- Parents:
- 71f2e5f (diff), 67b6618 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r71f2e5f r41b985f 7 7 from python.lib.gen_external import generate_external, header, output_path 8 8 9 # read from VERSION 10 for l in open('VERSION').readlines(): exec (l.strip()) 11 12 if AUBIO_MAJOR_VERSION is None or AUBIO_MINOR_VERSION is None \ 13 or AUBIO_PATCH_VERSION is None: 14 raise SystemError("Failed parsing VERSION file.") 15 16 __version__ = '.'.join(map(str, [AUBIO_MAJOR_VERSION, 17 AUBIO_MINOR_VERSION, 18 AUBIO_PATCH_VERSION])) 19 if AUBIO_VERSION_STATUS is not None: 20 if AUBIO_VERSION_STATUS.startswith('~'): 21 AUBIO_VERSION_STATUS = AUBIO_VERSION_STATUS[1:] 22 __version__ += AUBIO_VERSION_STATUS 9 __version__ = get_aubio_pyversion() 23 10 24 11 include_dirs = [] 25 12 library_dirs = [] 26 define_macros = [ ]13 define_macros = [('AUBIO_VERSION', '%s' % __version__)] 27 14 extra_link_args = [] 28 15 … … 49 36 if os.path.isfile('src/aubio.h'): 50 37 if not os.path.isdir(os.path.join('build','src')): 51 __version__ += 'a2' # python only version 38 pass 39 #__version__ += 'a2' # python only version 52 40 53 41 classifiers = [ … … 79 67 maintainer = 'Paul Brossier', 80 68 maintainer_email = 'piem@aubio.org', 81 url = 'http ://aubio.org/',69 url = 'https://aubio.org/', 82 70 platforms = 'any', 83 71 classifiers = classifiers, 84 72 install_requires = ['numpy'], 73 setup_requires = ['numpy'], 85 74 cmdclass = { 86 75 'clean': CleanGenerated, … … 88 77 }, 89 78 test_suite = 'nose2.collector.collector', 79 extras_require = { 80 'tests': ['numpy'], 81 }, 90 82 )
Note: See TracChangeset
for help on using the changeset viewer.