1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-06 00:47:13 +03:00
WeasyPrint/setup.py

59 lines
1.6 KiB
Python

"""
WeasyPrint
----------
WeasyPrint converts web documents (HTML, CSS, SVG, ...) to PDF.
See the documentation at http://weasyprint.org/
"""
from setuptools import setup, find_packages
setup(
name='WeasyPrint',
version='0.4dev', # Also change this in weasy/__init__.py
url='http://weasyprint.org/',
license='GNU Affero General Public License v3',
description='WeasyPrint converts web documents to PDF.',
long_description=__doc__,
author='Simon Sapin',
author_email='simon.sapin@kozea.fr',
plateforms='Any',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Printing',
],
packages=find_packages(),
package_data={
'weasy.tests': ['resources/*',
# Make sure the directories are created
'*_results/.gitignore'],
'weasy.css': ['*.css']},
zip_safe=False,
install_requires=[
# Keep this in sync with the "install" documentation
'lxml',
'cssutils>=0.9.9a1',
'PIL',
'CairoSVG>=0.3dev',
# Not installable by pip:
# Pango>=1.29.3
# PyGObject
# PyCairo
],
test_loader='attest:FancyReporter.test_loader',
test_suite='weasy.tests',
entry_points={
'console_scripts': [
'weasyprint = weasy:main',
],
},
use_2to3=True
)