""" 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.3', # 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 )