fix manifest file

pull/10/head
Eren Gölge 2021-01-25 13:27:54 +01:00
parent 57b668fd86
commit 82e029529e
5 changed files with 11 additions and 24 deletions

View File

@ -1,20 +0,0 @@
FROM pytorch/pytorch:1.0.1-cuda10.0-cudnn7-runtime
WORKDIR /srv/app
RUN apt-get update && \
apt-get install -y libsndfile1 espeak && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
# Copy Source later to enable dependency caching
COPY requirements.txt /srv/app/
RUN pip install -r requirements.txt
COPY . /srv/app
# http://bugs.python.org/issue19846
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK.
ENV LANG C.UTF-8
CMD python3.6 server/server.py -c server/conf.json

View File

@ -1,4 +1,10 @@
include README.md
include LICENSE.txt
include requirements.txt
include TTS/.models.json
recursive-include TTS *.json
recursive-include TTS *.html
recursive-include TTS *.png
recursive-include TTS *.md
recursive-include notebooks *.ipynb
recursive-include images *.png

View File

@ -143,7 +143,7 @@ def main():
args = parser.parse_args()
# load model manager
path = Path(__file__).parent / "../../.models.json"
path = Path(__file__).parent / "../.models.json"
manager = ModelManager(path)
model_path = None

View File

@ -47,7 +47,7 @@ wavernn_config_file = os.path.join(embedded_wavernn_folder, 'config.json')
args = create_argparser().parse_args()
path = Path(__file__).parent / "../../.models.json"
path = Path(__file__).parent / "../.models.json"
manager = ModelManager(path)
if args.list_models:

View File

@ -33,7 +33,7 @@ args, unknown_args = parser.parse_known_args()
# Remove our arguments from argv so that setuptools doesn't see them
sys.argv = [sys.argv[0]] + unknown_args
version = '0.0.9a4'
version = '0.0.9a9'
cwd = os.path.dirname(os.path.abspath(__file__))
# Handle Cython code
@ -105,6 +105,7 @@ setup(
long_description=README,
long_description_content_type="text/markdown",
license='MPL-2.0',
include_package_data = True,
ext_modules=find_cython_extensions(),
packages=find_packages(include=['TTS*']),
project_urls={