forked from espnet/espnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e33b073
commit f6ca5fb
Showing
3 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
"""Initialize main package.""" | ||
"""Initialize espnet package.""" | ||
|
||
import pkg_resources | ||
|
||
try: | ||
__version__ = pkg_resources.get_distribution("espnet").version | ||
except Exception: | ||
__version__ = "(Not installed from setup.py)" | ||
del pkg_resources | ||
__version__ = "0.9.6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
"""Initialize espnet2 package.""" | ||
|
||
from espnet import __version__ # NOQA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
#!/usr/bin/env python3 | ||
from distutils.version import LooseVersion | ||
|
||
"""ESPnet setup script.""" | ||
|
||
import os | ||
|
||
from distutils.version import LooseVersion | ||
from setuptools import find_packages | ||
from setuptools import setup | ||
|
||
from espnet import __version__ | ||
|
||
|
||
requirements = { | ||
"install": [ | ||
|
@@ -123,7 +129,7 @@ | |
dirname = os.path.dirname(__file__) | ||
setup( | ||
name="espnet", | ||
version="0.9.6", | ||
version=__version__, | ||
url="http://github.com/espnet/espnet", | ||
author="Shinji Watanabe", | ||
author_email="[email protected]", | ||
|