diff --git a/matcha/utils/utils.py b/matcha/utils/utils.py index 2a4dbf7..1b71103 100644 --- a/matcha/utils/utils.py +++ b/matcha/utils/utils.py @@ -199,7 +199,10 @@ def get_user_data_dir(appname="matcha_tts"): ans = Path("~/Library/Application Support/").expanduser() else: ans = Path.home().joinpath(".local/share") - return ans.joinpath(appname) + + final_path = ans.joinpath(appname) + final_path.mkdir(parents=True, exist_ok=True) + return final_path def assert_model_downloaded(checkpoint_path, url, use_wget=False): diff --git a/setup.py b/setup.py index a163ad2..ef04f11 100644 --- a/setup.py +++ b/setup.py @@ -17,8 +17,8 @@ with open("README.md", "r", encoding="utf-8") as readme_file: setup( - name="matcha_tts", - version="0.1.0", + name="matcha-tts", + version="0.0.1", description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching", long_description=README, long_description_content_type="text/markdown", @@ -36,11 +36,11 @@ setup( entry_points={ "console_scripts": [ "matcha-data-stats=matcha.utils.generate_data_statistics:main", - "matcha_tts=matcha.cli:cli", - "matcha_tts-app=matcha.app:main", + "matcha-tts=matcha.cli:cli", + "matcha-tts-app=matcha.app:main", ] }, ext_modules=cythonize(exts, language_level=3), - python_requires=">=3.10.0", + python_requires=">=3.9.0", )