Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the dependency links to github from Makefile to #858

merged 1 commit into from Jun 15, 2019
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.


Just for now

@@ -1,15 +1,20 @@
#!/usr/bin/env python
import io
from distutils.version import LooseVersion
import os
import pip
from setuptools import find_packages
from setuptools import setup
import sys

def get_all_scripts(dirname):
return [os.path.join(root, f)
for root, _, files in os.walk(dirname) for f in files
if os.path.splitext(f)[1] == '.py' and f != '']

if LooseVersion(sys.version) < LooseVersion('3.6'):
raise RuntimeError(
'ESPnet requires Python>=3.6, '
'but your Python is {}'.format(sys.version))
if LooseVersion(pip.__version__) < LooseVersion('19'):
raise RuntimeError(
'pip>=19.0.0 is required, but your pip is {}. '
'Try again after "pip install -U pip"'.format(pip.__version__))

requirements = {
'install': [
@@ -39,7 +44,9 @@ def get_all_scripts(dirname):
# A backport of inspect.signature for python2
'setup': ['numpy', 'pytest-runner'],
'test': [
@@ -69,8 +76,8 @@ def get_all_scripts(dirname):
author='Shinji Watanabe',
description='ESPnet: end-to-end speech processing toolkit',, ''),
long_description=open(os.path.join(dirname, ''),
license='Apache Software License',
# #448: "scripts" is inconvenient for developping because they are copied
@@ -29,7 +29,7 @@ endif

all: kaldi.done python check_install

python: venv $(CUDA_DEPS) warp-ctc.done chainer_ctc.done pytorch_complex.done pytorch_wpe.done
python: venv $(CUDA_DEPS) warp-ctc.done chainer_ctc.done

extra: nkf.done sentencepiece.done mecab.done moses.done pesq

@@ -104,16 +104,6 @@ chainer_ctc.done: espnet.done
. venv/bin/activate; cd chainer_ctc && pip install .
touch chainer_ctc.done

pytorch_complex.done: venv
# Require python>=3.6, pytorch>=1.0
. venv/bin/activate; pip install git+
touch pytorch_complex.done

pytorch_wpe.done: venv
. venv/bin/activate; pip install git+
touch pytorch_wpe.done

rm -rf nkf
mkdir -p nkf
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.