forked from bootphon/abkhazia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·65 lines (57 loc) · 2.06 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env python
# Copyright 2016 Thomas Schatz, Xuan-Nga Cao, Mathieu Bernard
#
# This file is part of abkhazia: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Abkhazia is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with abkahzia. If not, see <http://www.gnu.org/licenses/>.
"""Setup script for the abkhazia package"""
import os
import abkhazia
from setuptools import setup, find_packages
GITHUB_BOOTPHON = 'https://github.com/bootphon/'
SETUP_DIR = os.path.dirname(os.path.abspath(__file__))
VERSION = abkhazia.__version__
# On Reads The Docs we don't install any package
ON_RTD = os.environ.get('READTHEDOCS', None) == 'True'
REQUIREMENTS = [] if ON_RTD else [
'numpy',
'progressbar2',
'joblib',
'argcomplete',
'pytest',
'Sphinx',
'h5features',
'phonemizer',
'matplotlib'
]
setup(
name='abkhazia',
version=VERSION,
packages=find_packages(exclude=['test']),
zip_safe=False,
scripts=[],
# install python dependencies from PyPI
install_requires=REQUIREMENTS,
# include any files in abkhazia/share and abkhazia.conf
package_data={'abkhazia': ['share/*.*']},
# define the command-line script to use
entry_points={'console_scripts': [
'abkhazia = abkhazia.commands.abkhazia_main:main']},
# metadata for upload to PyPI
author='Thomas Schatz, Mathieu Bernard, Roland Thiolliere, Xuan-Nga Cao',
author_email='[email protected]',
description='ABX and Kaldi experiments on speech corpora made easy',
license='GPL3',
keywords='speech corpus ASR kaldi ABX',
url='https://github.com/bootphon/abkhazia',
long_description=open('README.md').read(),
)