From d1b49fc7e85fde1f3396a6708b91cecba2e2b6c7 Mon Sep 17 00:00:00 2001 From: "Gedeon J. GBEDONOU" Date: Tue, 11 Nov 2025 22:35:00 +0100 Subject: [PATCH 1/6] Refactor requirements.txt to remove version pins Updated package versions in requirements.txt. --- requirements.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8ddba70d..93b8e9c9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,16 @@ librosa==0.9.1 faster-whisper==0.9.0 pydub==0.25.1 -wavmark==0.0.3 -numpy==1.22.0 -eng_to_ipa==0.0.2 -inflect==7.0.0 -unidecode==1.3.7 -whisper-timestamped==1.14.2 +wavmark +numpy +eng_to_ipa +inflect +unidecode +whisper-timestamped openai python-dotenv -pypinyin==0.50.0 -cn2an==0.5.22 -jieba==0.42.1 -gradio==3.48.0 -langid==1.1.6 +pypinyin +cn2an +jieba +gradio +langid From b5848f219c68e9395457f8d6aa402d013c419c75 Mon Sep 17 00:00:00 2001 From: "Gedeon J. GBEDONOU" Date: Mon, 17 Nov 2025 16:30:39 +0100 Subject: [PATCH 2/6] Update requirements for librosa and faster-whisper Updated librosa version and changed faster-whisper to a GitHub link. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 93b8e9c9..bdee93c7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ -librosa==0.9.1 -faster-whisper==0.9.0 +librosa==0.11.0 +git+https://github.com/SYSTRAN/faster-whisper pydub==0.25.1 wavmark numpy From 420e76a5384abe87db95f2c5b3bd5c3c0945ad7f Mon Sep 17 00:00:00 2001 From: "Gedeon J. GBEDONOU" Date: Mon, 17 Nov 2025 16:48:40 +0100 Subject: [PATCH 3/6] Refactor setup.py for OpenVoice package Updated package name and version, modified author details, and changed some dependencies. --- setup.py | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) diff --git a/setup.py b/setup.py index 33d43c4e..3b6a3b8a 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,9 @@ from setuptools import setup, find_packages -setup(name='MyShell-OpenVoice', - version='0.0.0', - description='Instant voice cloning by MyShell.', +setup(name='OpenVoice', + version='0.1.0', + description='Instant voice cloning by MyShell - Enhanced by Gedeon.', long_description=open('README.md').read().strip(), long_description_content_type='text/markdown', keywords=[ @@ -12,34 +12,37 @@ 'voice-clone', 'zero-shot-tts' ], - url='https://github.com/myshell-ai/OpenVoice', + url='https://github.com/beethogedeon/OpenVoice', project_urls={ - 'Documentation': 'https://github.com/myshell-ai/OpenVoice/blob/main/docs/USAGE.md', - 'Changes': 'https://github.com/myshell-ai/OpenVoice/releases', - 'Code': 'https://github.com/myshell-ai/OpenVoice', - 'Issue tracker': 'https://github.com/myshell-ai/OpenVoice/issues', + 'Documentation': 'https://github.com/beethogedeon/OpenVoice/blob/main/docs/USAGE.md', + 'Changes': 'https://github.com/beethogedeon/OpenVoice/releases', + 'Code': 'https://github.com/beethogedeon/OpenVoice', + 'Issue tracker': 'https://github.com/beethogedeon/OpenVoice/issues', }, - author='MyShell', - author_email='ethan@myshell.ai', + author=['MyShell, Gedeon GBEDONOU'], + author_email=['ethan@myshell.ai','beethovengedeon@gmail.com'], license='MIT License', packages=find_packages(), python_requires='>=3.9', install_requires=[ - 'librosa==0.9.1', - 'faster-whisper==0.9.0', - 'pydub==0.25.1', - 'wavmark==0.0.3', - 'numpy==1.22.0', - 'eng_to_ipa==0.0.2', - 'inflect==7.0.0', - 'unidecode==1.3.7', - 'whisper-timestamped==1.14.2', - 'pypinyin==0.50.0', - 'cn2an==0.5.22', - 'jieba==0.42.1', - 'gradio==3.48.0', - 'langid==1.1.6' + 'librosa==0.11.0', +'git+https://github.com/SYSTRAN/faster-whisper', +'pydub==0.25.1', +'wavmark', +'numpy', +'eng_to_ipa', +'inflect', +'unidecode', +'whisper-timestamped', +'openai', +'python-dotenv', +'pypinyin', +'cn2an', +'jieba', +'gradio', +'langid' ], zip_safe=False ) + From 0ba631e37ba2553922859834de7da8b6c8b9826e Mon Sep 17 00:00:00 2001 From: "Gedeon J. GBEDONOU" Date: Mon, 17 Nov 2025 17:14:26 +0100 Subject: [PATCH 4/6] Refactor setup.py for dynamic requirements loading Refactored setup.py to load requirements from a file and read the README for long description. --- setup.py | 87 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 47 insertions(+), 40 deletions(-) diff --git a/setup.py b/setup.py index 3b6a3b8a..97e04c71 100644 --- a/setup.py +++ b/setup.py @@ -1,48 +1,55 @@ from setuptools import setup, find_packages +import os +base_dir = os.path.dirname(os.path.abspath(__file__)) -setup(name='OpenVoice', - version='0.1.0', - description='Instant voice cloning by MyShell - Enhanced by Gedeon.', - long_description=open('README.md').read().strip(), - long_description_content_type='text/markdown', - keywords=[ - 'text-to-speech', - 'tts', - 'voice-clone', - 'zero-shot-tts' - ], - url='https://github.com/beethogedeon/OpenVoice', - project_urls={ +def get_requirements(path): + """Load and clean requirements file.""" + if not os.path.exists(path): + return [] + with open(path, encoding="utf-8") as f: + return [ + line.strip() + for line in f + if line.strip() and not line.startswith("#") + ] + +# Paths +readme_path = os.path.join(base_dir, "README.md") +requirements_path = os.path.join(base_dir, "requirements.txt") + +# Load README +with open(readme_path, "r", encoding="utf-8") as f: + long_description = f.read().strip() + +setup( + name='OpenVoice', + version='0.1.0', + description='Instant voice cloning by MyShell - Enhanced by Gedeon.', + long_description=long_description, + long_description_content_type='text/markdown', + + keywords=[ + 'text-to-speech', + 'tts', + 'voice-clone', + 'zero-shot-tts' + ], + + url='https://github.com/beethogedeon/OpenVoice', + project_urls={ 'Documentation': 'https://github.com/beethogedeon/OpenVoice/blob/main/docs/USAGE.md', 'Changes': 'https://github.com/beethogedeon/OpenVoice/releases', 'Code': 'https://github.com/beethogedeon/OpenVoice', 'Issue tracker': 'https://github.com/beethogedeon/OpenVoice/issues', - }, - author=['MyShell, Gedeon GBEDONOU'], - author_email=['ethan@myshell.ai','beethovengedeon@gmail.com'], - license='MIT License', - packages=find_packages(), - - python_requires='>=3.9', - install_requires=[ - 'librosa==0.11.0', -'git+https://github.com/SYSTRAN/faster-whisper', -'pydub==0.25.1', -'wavmark', -'numpy', -'eng_to_ipa', -'inflect', -'unidecode', -'whisper-timestamped', -'openai', -'python-dotenv', -'pypinyin', -'cn2an', -'jieba', -'gradio', -'langid' - ], - zip_safe=False - ) + }, + + author='MyShell, Gedeon GBEDONOU', + author_email='ethan@myshell.ai, beethovengedeon@gmail.com', + + license='MIT License', + packages=find_packages(), + python_requires='>=3.9', + install_requires=get_requirements(requirements_path), +) From e87ebba075114be545905307589acf398e71e438 Mon Sep 17 00:00:00 2001 From: "Gedeon J. GBEDONOU" Date: Mon, 17 Nov 2025 17:23:16 +0100 Subject: [PATCH 5/6] Update faster-whisper dependency in requirements --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index bdee93c7..090b81e8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ librosa==0.11.0 -git+https://github.com/SYSTRAN/faster-whisper +faster-whisper==1.2.1 pydub==0.25.1 wavmark numpy From 1ed2f063dbd5ac26b6d3bc8fe92d47362563fba3 Mon Sep 17 00:00:00 2001 From: "Gedeon J. GBEDONOU" Date: Mon, 17 Nov 2025 18:12:34 +0100 Subject: [PATCH 6/6] Update requirements.txt with new package versions Updated package versions and added missing packages. --- requirements.txt | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/requirements.txt b/requirements.txt index 090b81e8..debb178a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,16 +1,17 @@ librosa==0.11.0 faster-whisper==1.2.1 pydub==0.25.1 -wavmark -numpy -eng_to_ipa -inflect -unidecode -whisper-timestamped -openai -python-dotenv -pypinyin -cn2an -jieba -gradio -langid +transformers==4.57.1 +wavmark==0.0.3 +numpy==1.26.4 +eng_to_ipa==0.0.2 +inflect==7.5.0 +unidecode==1.4.0 +whisper-timestamped==1.15.9 +openai==2.7.1 +python-dotenv==1.2.1 +pypinyin==0.55.0 +cn2an==0.5.23 +jieba==0.42.1 +gradio==5.38.1 +langid==1.1.6