-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py.todo
44 lines (39 loc) · 1.2 KB
/
setup.py.todo
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
from setuptools import setup, find_packages
import io
import codecs
import os
import sys
here = os.path.abspath(os.path.dirname(__file__))
def read(*filenames, **kwargs):
encoding = kwargs.get('encoding', 'utf-8')
sep = kwargs.get('sep', '\n')
buf = []
for filename in filenames:
with io.open(filename, encoding=encoding) as f:
buf.append(f.read())
return sep.join(buf)
long_description = read('README.md', 'ChangeLog')
setup(
name='msgchi',
version=msgchi.__version__,
url='https://github.com/bluebat/msgchi',
license='GPL',
author='Wei-Lun Chao',
author_email='[email protected]',
description='Creating a translation catalog for chinese locales',
long_description=long_description,
packages=['msgchi'],
scripts = ['msgchi.py'],
include_package_data=True,
platforms='any',
classifiers = [
'Programming Language :: Python',
'Development Status :: 5 - Mature',
'Natural Language :: English',
'Environment :: Console',
'Intended Audience :: Translators',
'License :: OSI Approved :: GPL',
'Operating System :: OS Independent',
'Topic :: Applications',
]
)