forked from CPJKU/madmom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Python versions
- Loading branch information
Sebastian Böck
authored
Dec 29, 2021
1 parent
7e56070
commit a947e6c
Showing
4 changed files
with
82 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,50 +21,60 @@ | |
include_dirs = [np.get_include()] | ||
|
||
extensions = [ | ||
Extension('madmom.audio.comb_filters', ['madmom/audio/comb_filters.pyx'], | ||
include_dirs=include_dirs), | ||
Extension('madmom.features.beats_crf', ['madmom/features/beats_crf.pyx'], | ||
include_dirs=include_dirs), | ||
Extension('madmom.ml.hmm', ['madmom/ml/hmm.pyx'], | ||
include_dirs=include_dirs), | ||
Extension('madmom.ml.nn.layers', ['madmom/ml/nn/layers.py'], | ||
include_dirs=include_dirs), | ||
Extension( | ||
'madmom.audio.comb_filters', | ||
['madmom/audio/comb_filters.pyx'], | ||
include_dirs=include_dirs, | ||
), | ||
Extension( | ||
'madmom.features.beats_crf', | ||
['madmom/features/beats_crf.pyx'], | ||
include_dirs=include_dirs, | ||
), | ||
Extension('madmom.ml.hmm', ['madmom/ml/hmm.pyx'], include_dirs=include_dirs), | ||
Extension( | ||
'madmom.ml.nn.layers', ['madmom/ml/nn/layers.py'], include_dirs=include_dirs | ||
), | ||
] | ||
|
||
# define scripts to be installed by the PyPI package | ||
scripts = glob.glob('bin/*') | ||
|
||
# define the models to be included in the PyPI package | ||
package_data = ['models/LICENSE', | ||
'models/README.rst', | ||
'models/beats/201[56]/*', | ||
'models/chords/*/*', | ||
'models/chroma/*/*', | ||
'models/downbeats/*/*', | ||
'models/key/2018/*', | ||
'models/notes/*/*', | ||
'models/onsets/*/*', | ||
'models/patterns/*/*', | ||
] | ||
package_data = [ | ||
'models/LICENSE', | ||
'models/README.rst', | ||
'models/beats/201[56]/*', | ||
'models/chords/*/*', | ||
'models/chroma/*/*', | ||
'models/downbeats/*/*', | ||
'models/key/2018/*', | ||
'models/notes/*/*', | ||
'models/onsets/*/*', | ||
'models/patterns/*/*', | ||
] | ||
|
||
# some PyPI metadata | ||
classifiers = ['Development Status :: 3 - Alpha', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.5', | ||
'Programming Language :: Python :: 3.6', | ||
'Programming Language :: Python :: 3.7', | ||
'Environment :: Console', | ||
'License :: OSI Approved :: BSD License', | ||
'License :: Free for non-commercial use', | ||
'Topic :: Multimedia :: Sound/Audio :: Analysis', | ||
'Topic :: Scientific/Engineering :: Artificial Intelligence'] | ||
classifiers = [ | ||
'Development Status :: 3 - Beta', | ||
'Programming Language :: Python :: 3.7', | ||
'Programming Language :: Python :: 3.8', | ||
'Programming Language :: Python :: 3.9', | ||
'Programming Language :: Python :: 3.10', | ||
'Environment :: Console', | ||
'License :: OSI Approved :: BSD License', | ||
'License :: Free for non-commercial use', | ||
'Topic :: Multimedia :: Sound/Audio :: Analysis', | ||
'Topic :: Scientific/Engineering :: Artificial Intelligence', | ||
] | ||
|
||
# requirements | ||
requirements = ['numpy>=1.13.4', | ||
'scipy>=0.16', | ||
'cython>=0.25', | ||
'mido>=1.2.6', | ||
] | ||
requirements = [ | ||
'numpy>=1.13.4', | ||
'scipy>=0.16', | ||
'cython>=0.25', | ||
'mido>=1.2.6', | ||
] | ||
|
||
# docs to be included | ||
try: | ||
|
@@ -75,23 +85,25 @@ | |
long_description += '\n' + open('CHANGES.rst').read() | ||
|
||
# the actual setup routine | ||
setup(name='madmom', | ||
version=version, | ||
description='Python audio signal processing library', | ||
long_description=long_description, | ||
author='Department of Computational Perception, Johannes Kepler ' | ||
'University, Linz, Austria and Austrian Research Institute for ' | ||
'Artificial Intelligence (OFAI), Vienna, Austria', | ||
author_email='[email protected]', | ||
url='https://github.com/CPJKU/madmom', | ||
license='BSD, CC BY-NC-SA', | ||
packages=find_packages(exclude=['tests', 'docs']), | ||
ext_modules=cythonize(extensions), | ||
package_data={'madmom': package_data}, | ||
exclude_package_data={'': ['tests', 'docs']}, | ||
scripts=scripts, | ||
install_requires=requirements, | ||
cmdclass={'build_ext': build_ext}, | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest'], | ||
classifiers=classifiers) | ||
setup( | ||
name='madmom', | ||
version=version, | ||
description='Python audio signal processing library', | ||
long_description=long_description, | ||
author='Department of Computational Perception, Johannes Kepler ' | ||
'University, Linz, Austria and Austrian Research Institute for ' | ||
'Artificial Intelligence (OFAI), Vienna, Austria', | ||
author_email='[email protected]', | ||
url='https://github.com/CPJKU/madmom', | ||
license='BSD, CC BY-NC-SA', | ||
packages=find_packages(exclude=['tests', 'docs']), | ||
ext_modules=cythonize(extensions), | ||
package_data={'madmom': package_data}, | ||
exclude_package_data={'': ['tests', 'docs']}, | ||
scripts=scripts, | ||
install_requires=requirements, | ||
cmdclass={'build_ext': build_ext}, | ||
setup_requires=['pytest-runner'], | ||
tests_require=['pytest'], | ||
classifiers=classifiers, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters