Upload setup.py with huggingface_hub
Browse files
setup.py
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from setuptools import setup, find_packages
|
| 2 |
+
|
| 3 |
+
with open("README.md", "r", encoding="utf-8") as fh:
|
| 4 |
+
long_description = fh.read()
|
| 5 |
+
|
| 6 |
+
with open("requirements.txt", "r", encoding="utf-8") as fh:
|
| 7 |
+
requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]
|
| 8 |
+
|
| 9 |
+
setup(
|
| 10 |
+
name="zenvision-ai-subtitles",
|
| 11 |
+
version="1.0.0",
|
| 12 |
+
author="Equipo ZenVision",
|
| 13 |
+
author_email="[email protected]",
|
| 14 |
+
description="Modelo avanzado de subtitulado automático con IA de 3GB+",
|
| 15 |
+
long_description=long_description,
|
| 16 |
+
long_description_content_type="text/markdown",
|
| 17 |
+
url="https://github.com/zenvision/ai-subtitle-generator",
|
| 18 |
+
packages=find_packages(),
|
| 19 |
+
classifiers=[
|
| 20 |
+
"Development Status :: 5 - Production/Stable",
|
| 21 |
+
"Intended Audience :: Developers",
|
| 22 |
+
"Intended Audience :: Education",
|
| 23 |
+
"Intended Audience :: Science/Research",
|
| 24 |
+
"License :: OSI Approved :: MIT License",
|
| 25 |
+
"Operating System :: OS Independent",
|
| 26 |
+
"Programming Language :: Python :: 3",
|
| 27 |
+
"Programming Language :: Python :: 3.8",
|
| 28 |
+
"Programming Language :: Python :: 3.9",
|
| 29 |
+
"Programming Language :: Python :: 3.10",
|
| 30 |
+
"Programming Language :: Python :: 3.11",
|
| 31 |
+
"Topic :: Multimedia :: Video",
|
| 32 |
+
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
| 33 |
+
"Topic :: Text Processing :: Linguistic",
|
| 34 |
+
],
|
| 35 |
+
python_requires=">=3.8",
|
| 36 |
+
install_requires=requirements,
|
| 37 |
+
extras_require={
|
| 38 |
+
"dev": [
|
| 39 |
+
"pytest>=7.0.0",
|
| 40 |
+
"black>=23.0.0",
|
| 41 |
+
"flake8>=6.0.0",
|
| 42 |
+
"mypy>=1.0.0",
|
| 43 |
+
],
|
| 44 |
+
"gpu": [
|
| 45 |
+
"torch[cuda]>=2.0.0",
|
| 46 |
+
"torchaudio[cuda]>=2.0.0",
|
| 47 |
+
],
|
| 48 |
+
},
|
| 49 |
+
entry_points={
|
| 50 |
+
"console_scripts": [
|
| 51 |
+
"zenvision=app:main",
|
| 52 |
+
],
|
| 53 |
+
},
|
| 54 |
+
keywords="ai, subtitles, video, transcription, translation, nlp, whisper, bert",
|
| 55 |
+
project_urls={
|
| 56 |
+
"Bug Reports": "https://github.com/zenvision/ai-subtitle-generator/issues",
|
| 57 |
+
"Source": "https://github.com/zenvision/ai-subtitle-generator",
|
| 58 |
+
"Documentation": "https://docs.zenvision.ai",
|
| 59 |
+
},
|
| 60 |
+
)
|