Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance setup.py with best practices #83

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 28 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,31 @@
from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

setup(
name='stable-audio-tools',
version='0.0.16',
version='0.1.0',
url='https://github.com/Stability-AI/stable-audio-tools.git',
author='Stability AI',
author_email='[email protected]',
description='Training and inference tools for generative audio models from Stability AI',
packages=find_packages(),
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
python_requires='>=3.7',
install_requires=[
'aeiou==0.0.20',
'alias-free-torch==0.0.6',
Expand All @@ -25,7 +44,7 @@
'pandas==2.0.2',
'pedalboard==0.7.4',
'prefigure==0.0.9',
'pytorch_lightning==2.1.0',
'pytorch_lightning==2.1.0',
'PyWavelets==1.4.1',
'safetensors',
'sentencepiece==0.1.99',
Expand All @@ -41,4 +60,9 @@
'webdataset==0.2.48',
'x-transformers<1.27.0'
],
)
entry_points={
'console_scripts': [
'stable-audio-tools=stable_audio_tools.cli:main',
],
},
)