-
Notifications
You must be signed in to change notification settings - Fork 33
/
setup.py
59 lines (53 loc) · 1.86 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
# -*- coding: utf-8 -*-
from setuptools import setup
import os
import sys
from 版本 import 版本
def 揣工具包(頭='.'):
'setup的find_packages無支援windows中文檔案'
工具包 = []
for 目錄, _, 檔案 in os.walk(頭):
if '__init__.py' in 檔案:
工具包.append(目錄.replace('/', '.'))
return 工具包
# tar無法度下傷長的檔案名,所以愛用zip
# python setup.py sdist --format=zip upload
try:
# travis攏先`python setup.py sdist`才閣上傳
sys.argv.insert(sys.argv.index('sdist') + 1, '--format=zip')
except ValueError:
# 無upload
pass
setup(
name='tai5-uan5_gian5-gi2_kang1-ku7',
packages=揣工具包('臺灣言語工具'),
version=版本,
description='臺灣語言資訊系統(Toolkit for Languages in Taiwan)',
long_description='臺灣語言資訊系統函式庫,支援語音辨識、合成、翻譯、…等技術',
author='薛丞宏',
author_email='ithuan@ithuan.tw',
url='https://ithuan.tw/',
download_url='https://github.com/i3thuan5/tai5-uan5_gian5-gi2_kang1-ku7',
keywords=[
'臺灣', '臺語', '客家話', '自然語言', '語料庫',
'語音合成', '語音辨識', '機器翻譯', '斷詞',
'Taiwan', 'Taiwanese', 'Hakka', 'Natural Language', 'Corpus',
'Text to Speech', 'TTS',
'Machine Translateion',
'Word Segmentation',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Operating System :: Unix',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing',
'Topic :: Text Processing :: Linguistic',
],
install_requires=[
'kesi>=1,<2',
'pydub~=0.25.1',
],
)