singularity7/Muggier
0
1# Copyright (c) Meta Platforms, Inc. and affiliates.2# All rights reserved.3#4# This source code is licensed under the license found in the5# LICENSE file in the root directory of this source tree.6 7from pathlib import Path8 9from setuptools import setup, find_packages10 11 12NAME = 'audiocraft'13DESCRIPTION = 'Audio generation research library for PyTorch'14 15URL = 'https://github.com/facebookresearch/audiocraft'16AUTHOR = 'FAIR Speech & Audio'17EMAIL = 'defossez@meta.com, jadecopet@meta.com'18REQUIRES_PYTHON = '>=3.8.0'19 20for line in open('audiocraft/__init__.py'):21 line = line.strip()22 if '__version__' in line:23 context = {}24 exec(line, context)25 VERSION = context['__version__']26 27HERE = Path(__file__).parent28 29try:30 with open(HERE / "README.md", encoding='utf-8') as f:31 long_description = '\n' + f.read()32except FileNotFoundError:33 long_description = DESCRIPTION34 35REQUIRED = [i.strip() for i in open(HERE / 'requirements.txt') if not i.startswith('#')]36 37setup(38 name=NAME,39 version=VERSION,40 description=DESCRIPTION,41 author_email=EMAIL,42 long_description=long_description,43 long_description_content_type='text/markdown',44 author=AUTHOR,45 url=URL,46 python_requires=REQUIRES_PYTHON,47 install_requires=REQUIRED,48 extras_require={49 'dev': ['coverage', 'flake8', 'mypy', 'pdoc3', 'pytest'],50 },51 packages=find_packages(),52 package_data={'audiocraft': ['py.typed']},53 include_package_data=True,54 license='MIT License',55 classifiers=[56 # Trove classifiers57 # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers58 'License :: OSI Approved :: MIT License',59 'Topic :: Multimedia :: Sound/Audio',60 'Topic :: Scientific/Engineering :: Artificial Intelligence',61 ],62)63 