1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-09-11 12:46:15 +03:00

Packaging fixes.

This commit is contained in:
Simon Sapin 2011-10-10 15:20:26 +02:00
parent c4f1a95cce
commit 65ef970bd0
2 changed files with 10 additions and 2 deletions

3
MANIFEST.in Normal file
View File

@ -0,0 +1,3 @@
include weasy/tests/resources/*
include weasy/tests/*_results/.gitignore
include weasy/html/*.css

View File

@ -8,7 +8,7 @@ See the documentation at http://weasyprint.org/
"""
from setuptools import setup
from setuptools import setup, find_packages
setup(
name='WeasyPrint',
@ -17,7 +17,12 @@ setup(
license='GNU Affero General Public License',
description='WeasyPrint converts web documents to PDF.',
long_description=__doc__,
packages=['weasy'],
packages=find_packages(),
package_data={
'weasy.tests': ['resources/*',
# Make sure the directories are created
'*_results/.gitignore'],
'weasy.html': ['*.css']},
zip_safe=False,
install_requires=[
'lxml',