2011-04-20 13:15:13 +04:00
|
|
|
"""
|
|
|
|
WeasyPrint
|
|
|
|
----------
|
|
|
|
|
|
|
|
WeasyPrint converts web documents (HTML, CSS, SVG, ...) to PDF.
|
|
|
|
|
2011-04-28 21:15:30 +04:00
|
|
|
See the documentation at http://weasyprint.org/
|
|
|
|
|
2011-04-20 13:15:13 +04:00
|
|
|
"""
|
|
|
|
|
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name='WeasyPrint',
|
|
|
|
version='0.1dev',
|
2011-04-28 21:15:30 +04:00
|
|
|
url='http://weasyprint.org/',
|
|
|
|
license='GNU Affero General Public License',
|
2011-04-20 13:15:13 +04:00
|
|
|
description='WeasyPrint converts web documents to PDF.',
|
|
|
|
long_description=__doc__,
|
|
|
|
packages=['weasy'],
|
|
|
|
zip_safe=False,
|
|
|
|
install_requires=[
|
2011-04-21 12:24:21 +04:00
|
|
|
'lxml',
|
|
|
|
'cssutils',
|
2011-08-19 17:50:03 +04:00
|
|
|
'PIL',
|
2011-09-02 19:56:52 +04:00
|
|
|
# Tricky to compile: 'pycairo'
|
2011-04-21 12:24:21 +04:00
|
|
|
# Not on PyPI: 'rsvg',
|
2011-09-02 19:56:52 +04:00
|
|
|
# Also depends on Pango with introspection
|
2011-04-20 13:15:13 +04:00
|
|
|
],
|
2011-04-21 12:24:21 +04:00
|
|
|
test_loader='attest:FancyReporter.test_loader',
|
|
|
|
test_suite='weasy.tests.tests',
|
2011-09-02 19:56:52 +04:00
|
|
|
entry_points={
|
2011-08-09 14:45:51 +04:00
|
|
|
'console_scripts': [
|
|
|
|
'weasyprint = weasy:main',
|
|
|
|
],
|
|
|
|
}
|
2011-04-20 13:15:13 +04:00
|
|
|
)
|