-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (38 loc) · 1.23 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
# -*- coding: utf-8 -*-
from setuptools import setup
import japaneezu
# README.rst dynamically generated:
with open('README.rst', 'w') as f:
f.write(japaneezu.__doc__)
NAME = 'japaneezu'
def read(file):
with open(file, 'r') as f:
return f.read().strip()
setup(
name=NAME,
version=read('VERSION'),
description='A curses/console foreign language language study tool. (Currently limited to Japanese.)',
long_description=read('README.rst'),
author='Mike Burr',
author_email='mburr@unintuitive.org',
url='https://github.com/stnbu/{0}'.format(NAME),
download_url='https://github.com/stnbu/{0}/archive/master.zip'.format(NAME),
provides=[NAME],
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console :: Curses',
'License :: OSI Approved :: MIT License',
'Natural Language :: Japanese',
'Programming Language :: Python :: 2',
],
requires=['urwid', 'urwid_utils'],
packages=[NAME, NAME+'.ui'],
keywords=['language', 'study', 'japanese', 'parsing'],
test_suite='nose.collector',
entry_points={
'console_scripts': [
'{0} = {0}.ui.main:main'.format(NAME),
],
'gui_script': []},
)