-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (37 loc) · 1.31 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
""" Setup for iSTFT Vocoder
"""
import datetime as dt
from os import path
from setuptools import find_packages, setup
build_no = dt.datetime.now().strftime("%Y%m%d")
# Ugly hack to read the current version number without importing g2p:
# (works by )
VERSION = "0.0" + "." + build_no
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf8") as f:
long_description = f.read()
with open(path.join(this_directory, "requirements.txt"), encoding="utf8") as f:
REQS = f.read().splitlines()
setup(
name="hfgl",
python_requires=">=3.10",
version=VERSION,
author="Aidan Pine",
author_email="[email protected]",
license="MIT",
url="https://github.com/EveryVoiceTTS/HiFiGAN_iSTFT_lightning",
description="An Unofficial Implementation of HiFiGAN and iSTFT-Net for Waveform Generation",
long_description=long_description,
long_description_content_type="text/markdown",
platform=["any"],
packages=find_packages(),
include_package_data=True,
install_requires=REQS,
entry_points={"console_scripts": ["hfgl = hfgl.cli:app"]},
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)