Adding versioning in a file

This commit is contained in:
Shivam Mehta
2023-09-17 15:15:30 +00:00
parent 54421b3ced
commit 582407b699
6 changed files with 25 additions and 18 deletions

View File

@@ -15,10 +15,13 @@ exts = [
with open("README.md", encoding="utf-8") as readme_file:
README = readme_file.read()
cwd = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(cwd, "matcha", "VERSION")) as fin:
version = fin.read().strip()
setup(
name="matcha-tts",
version="0.0.0.1.dev0",
version=version,
description="🍵 Matcha-TTS: A fast TTS architecture with conditional flow matching",
long_description=README,
long_description_content_type="text/markdown",