Changeset 8e2f36a for setup.py


Ignore:
Timestamp:
Mar 23, 2017, 2:56:50 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler
Children:
53fbd58
Parents:
1f00b69
Message:

setup.py: move cut and cmd inside aubio module, use entry_points to generate scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r1f00b69 r8e2f36a  
    5858    packages = ['aubio'],
    5959    package_dir = {'aubio':'python/lib/aubio'},
    60     scripts = ['python/scripts/aubiocut', 'python/scripts/aubio'],
    6160    ext_modules = [aubio_extension],
    6261    description = 'a collection of tools for music analysis',
     
    7675        'build_ext': build_ext,
    7776        },
     77    entry_points = {
     78        'console_scripts': [
     79            'aubio = aubio.cmd:main',
     80            'aubiocut = aubio.cut:main',
     81        ],
     82    },
    7883    test_suite = 'nose2.collector.collector',
    7984    extras_require = {
Note: See TracChangeset for help on using the changeset viewer.