-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
48 lines (41 loc) · 1.57 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
##########################################################################
# zopyx.convert2 - XSL-FO related functionalities
#
# (C) 2007, 2008 ZOPYX Ltd & Co. KG, Tuebingen, Germany
##########################################################################
import os
from setuptools import setup, find_packages
CLASSIFIERS = [
'Programming Language :: Python',
]
version = '2.4.6'
desc = unicode(file(os.path.join('docs', 'source', 'README.rst')).read().strip(), 'utf-8')
changes = file(os.path.join('docs', 'source', 'HISTORY.rst')).read().strip()
long_description = desc + '\n\nChanges:\n========\n\n' + changes
setup(name='zopyx.convert2',
version=version,
license='ZPL (see LICENSE.txt)',
author='Andreas Jung',
author_email='info@zopyx.com',
maintainer='Andreas Jung',
maintainer_email='info@zopyx.com',
classifiers=CLASSIFIERS,
url='http://pypi.python.org/pypi/zopyx.convert2',
description='A Python interface for the conversion of HTML to PDF, RTF, DOCX, WML and ODT) - belongs to zopyx.smartprintng.core',
long_description=long_description,
packages=['zopyx', 'zopyx.convert2'],
package_dir = {'': 'src'},
include_package_data = True,
test_suite='nose.collector',
zip_safe=False,
install_requires=[
'setuptools',
'elementtree',
'BeautifulSoup',
'pisa',
'reportlab',
'pypdf',
'html5lib'],
namespace_packages=['zopyx'],
entry_points={'console_scripts': ['html-convert = zopyx.convert2.cli:main',]},
)