mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-09-11 12:46:15 +03:00
Packaging fixes.
This commit is contained in:
parent
c4f1a95cce
commit
65ef970bd0
3
MANIFEST.in
Normal file
3
MANIFEST.in
Normal file
@ -0,0 +1,3 @@
|
||||
include weasy/tests/resources/*
|
||||
include weasy/tests/*_results/.gitignore
|
||||
include weasy/html/*.css
|
9
setup.py
9
setup.py
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user