| from setuptools import setup, find_packages | |
| def parse_requirements(): | |
| requirements = [] | |
| with open('requirements.txt', 'r') as f: | |
| for line in f: | |
| line = line.strip() | |
| if not line or line.startswith('#') or line.startswith('-'): | |
| continue | |
| requirements.append(line) | |
| return requirements | |
| setup( | |
| name="tts_colab", | |
| version="0.1.5", | |
| packages=find_packages(), | |
| include_package_data=True, | |
| package_data={ | |
| 'tts_colab': [ | |
| 'static/css/*.css', | |
| 'static/js/*.js', | |
| 'static/generated/*', | |
| 'templates/*.html' | |
| ], | |
| }, | |
| install_requires=parse_requirements(), | |
| entry_points={ | |
| 'console_scripts': [ | |
| 'tts-colab=tts_colab.tts:main', | |
| ], | |
| }, | |
| author="prolapse", | |
| author_email="prolapse@example.com", | |
| description="Text-to-Speech web application for Colab", | |
| keywords="tts colab text-to-speech", | |
| classifiers=[ | |
| "Development Status :: 4 - Beta", | |
| "Intended Audience :: Developers", | |
| "License :: OSI Approved :: MIT License", | |
| "Programming Language :: Python :: 3", | |
| "Operating System :: OS Independent", | |
| ], | |
| ) |