-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (43 loc) · 1.42 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
import os
from setuptools import setup
from setuptools import find_packages
NAME = 'CJKSplitter'
here = os.path.abspath(os.path.dirname(__file__))
package = os.path.join(here, 'Products', NAME)
def _package_doc(name):
f = open(os.path.join(package, name))
return f.read()
_boundary = '\n' + ('-' * 60) + '\n\n'
README = ( _package_doc('README.txt')
+ _boundary
+ _package_doc('HISTORY.txt')
)
setup(name='Products.%s' % NAME,
version=_package_doc('version.txt').strip(),
description='%s product' % NAME,
long_description=README,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Plone",
"Framework :: Zope2",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Programming Language :: Python",
"Topic :: Text Processing :: Indexing",
],
keywords='zope2 cmf plone text index chinese japanese korean',
author="Zopen",
author_email="[email protected]",
url="http://pypi.python.org/pypi/Products.%s" % NAME,
packages=find_packages(),
include_package_data=True,
namespace_packages=['Products'],
zip_safe=False,
install_requires=['setuptools',
'Zope2',
],
tests_require=[],
test_suite="Products.%s.tests" % NAME,
entry_points="""
""",
)