-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
56 lines (50 loc) · 2.25 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
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from sskk import __version__, __license__, __author__
import inspect
import os
filename = inspect.getfile(inspect.currentframe())
dirpath = os.path.abspath(os.path.dirname(filename))
long_description = open(os.path.join(dirpath, "README.rst")).read()
try:
import sskk.canossa
except ImportError, e:
print e
print "Please do:\n git submodule update --init"
import sys
sys.exit(1)
setup(name = 'sentimental-skk',
version = __version__,
description = '三 三 ( ´_ゝ`)< Japanese Input Method SKK '
'(Simple Kana to Kanji conversion) on your terminal',
long_description = long_description,
py_modules = ['sskk'],
eager_resources = ['sskk/SKK-JISYO.L',
'sskk/SKK-JISYO.assoc',
'sskk/SKK-JISYO.JIS2',
'sskk/SKK-JISYO.edict',
'sskk/SKK-JISYO.geo',
'sskk/SKK-JISYO.jinmei',
],
classifiers = ['Development Status :: 4 - Beta',
'Topic :: Terminals',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python'
],
keywords = 'skk japanese terminal',
author = __author__,
author_email = '[email protected]',
url = 'https://github.com/saitoha/sentimental-skk',
license = __license__,
packages = find_packages(exclude=[]),
zip_safe = False,
include_package_data = True,
install_requires = ['tff'],
entry_points = """
[console_scripts]
sskk = sskk.sskk:main
sskk-test-terminal = sskk.sskk:test_terminal
"""
)