2019-10-28 14:12:13 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
# coding: utf8
|
|
|
|
|
|
|
|
|
|
""" Distribution script. """
|
|
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
|
|
|
|
|
from os import path
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
|
|
__email__ = 'research@deezer.com'
|
|
|
|
|
__author__ = 'Deezer Research'
|
|
|
|
|
__license__ = 'MIT License'
|
|
|
|
|
|
|
|
|
|
# Default project values.
|
|
|
|
|
project_name = 'spleeter'
|
2020-06-17 16:05:15 +02:00
|
|
|
project_version = '1.5.3'
|
2019-10-28 14:12:13 +01:00
|
|
|
tensorflow_dependency = 'tensorflow'
|
2020-03-27 16:29:10 +01:00
|
|
|
tensorflow_version = '1.15.2'
|
2019-10-28 14:12:13 +01:00
|
|
|
here = path.abspath(path.dirname(__file__))
|
|
|
|
|
readme_path = path.join(here, 'README.md')
|
|
|
|
|
with open(readme_path, 'r') as stream:
|
|
|
|
|
readme = stream.read()
|
|
|
|
|
|
|
|
|
|
# Package setup entrypoint.
|
|
|
|
|
setup(
|
|
|
|
|
name=project_name,
|
|
|
|
|
version=project_version,
|
|
|
|
|
description='''
|
|
|
|
|
The Deezer source separation library with
|
|
|
|
|
pretrained models based on tensorflow.
|
|
|
|
|
''',
|
|
|
|
|
long_description=readme,
|
|
|
|
|
long_description_content_type='text/markdown',
|
|
|
|
|
author='Deezer Research',
|
|
|
|
|
author_email='research@deezer.com',
|
|
|
|
|
url='https://github.com/deezer/spleeter',
|
|
|
|
|
license='MIT License',
|
|
|
|
|
packages=[
|
|
|
|
|
'spleeter',
|
2019-11-08 17:09:17 -05:00
|
|
|
'spleeter.audio',
|
2019-10-28 14:12:13 +01:00
|
|
|
'spleeter.commands',
|
|
|
|
|
'spleeter.model',
|
|
|
|
|
'spleeter.model.functions',
|
|
|
|
|
'spleeter.model.provider',
|
|
|
|
|
'spleeter.resources',
|
|
|
|
|
'spleeter.utils',
|
|
|
|
|
],
|
|
|
|
|
package_data={'spleeter.resources': ['*.json']},
|
|
|
|
|
python_requires='>=3.6, <3.8',
|
|
|
|
|
include_package_data=True,
|
|
|
|
|
install_requires=[
|
2019-11-07 00:05:40 +01:00
|
|
|
'ffmpeg-python',
|
2019-10-28 14:12:13 +01:00
|
|
|
'importlib_resources ; python_version<"3.7"',
|
|
|
|
|
'norbert==0.2.1',
|
|
|
|
|
'pandas==0.25.1',
|
|
|
|
|
'requests',
|
2019-11-06 17:18:56 +01:00
|
|
|
'setuptools>=41.0.0',
|
2020-02-27 14:37:02 +01:00
|
|
|
'librosa==0.7.2',
|
2020-06-17 16:24:46 +02:00
|
|
|
'numba==0.48.0',
|
2019-10-28 14:12:13 +01:00
|
|
|
'{}=={}'.format(tensorflow_dependency, tensorflow_version),
|
|
|
|
|
],
|
2019-11-06 23:58:58 +01:00
|
|
|
extras_require={
|
|
|
|
|
'evaluation': ['musdb==0.3.1', 'museval==0.3.0']
|
|
|
|
|
},
|
2019-10-28 14:12:13 +01:00
|
|
|
entry_points={
|
|
|
|
|
'console_scripts': ['spleeter=spleeter.__main__:entrypoint']
|
|
|
|
|
},
|
|
|
|
|
classifiers=[
|
|
|
|
|
'Environment :: Console',
|
|
|
|
|
'Environment :: MacOS X',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'Intended Audience :: Information Technology',
|
|
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
|
'Natural Language :: English',
|
|
|
|
|
'Operating System :: MacOS',
|
|
|
|
|
'Operating System :: Microsoft :: Windows',
|
|
|
|
|
'Operating System :: POSIX :: Linux',
|
|
|
|
|
'Operating System :: Unix',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
|
'Programming Language :: Python :: 3.6',
|
|
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
|
|
'Programming Language :: Python :: 3 :: Only',
|
|
|
|
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
|
|
|
'Topic :: Artistic Software',
|
|
|
|
|
'Topic :: Multimedia',
|
|
|
|
|
'Topic :: Multimedia :: Sound/Audio',
|
|
|
|
|
'Topic :: Multimedia :: Sound/Audio :: Analysis',
|
|
|
|
|
'Topic :: Multimedia :: Sound/Audio :: Conversion',
|
|
|
|
|
'Topic :: Multimedia :: Sound/Audio :: Sound Synthesis',
|
|
|
|
|
'Topic :: Scientific/Engineering',
|
|
|
|
|
'Topic :: Scientific/Engineering :: Artificial Intelligence',
|
|
|
|
|
'Topic :: Scientific/Engineering :: Information Analysis',
|
|
|
|
|
'Topic :: Software Development',
|
|
|
|
|
'Topic :: Software Development :: Libraries',
|
|
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
|
|
|
'Topic :: Utilities']
|
|
|
|
|
)
|