<commit_before># coding: utf8
"""
    WeasyPrint
    ==========

    WeasyPrint converts web documents to PDF.

    :copyright: Copyright 2011-2012 <NAME> and contributors, see AUTHORS.
    :license: BSD, see LICENSE for details.

"""

import re
import sys
from os import path
from setuptools import setup, find_packages

with open(path.join(path.dirname(__file__), 'weasyprint', '__init__.py')) as fd:
    VERSION = re.search("VERSION = '([^']+)'", fd.read().strip()).group(1)

with open(path.join(path.dirname(__file__), 'README')) as fd:
    LONG_DESCRIPTION = fd.read()


REQUIREMENTS = [
        # XXX: Keep this in sync with http://weasyprint.org/install/
        'lxml',
        'tinycss>=0.2',
        'cssselect>=0.6',
        'CairoSVG>=0.4.1',
        # ... and others, not installable by pip.
]
if sys.version_info < (2, 7) or (3,) <= sys.version_info < (3, 2):
    # In the stdlib from 2.7:
    REQUIREMENTS.append('argparse')

setup(
    name='WeasyPrint',
    version=VERSION,
    url='http://weasyprint.org/',<commit_msg>Depend on tinycss 0.3, for the @page:blank test.<commit_after># coding: utf8
"""
    WeasyPrint
    ==========

    WeasyPrint converts web documents to PDF.

    :copyright: Copyright 2011-2012 <NAME> and contributors, see AUTHORS.
    :license: BSD, see LICENSE for details.

"""

import re
import sys
from os import path
from setuptools import setup, find_packages

with open(path.join(path.dirname(__file__), 'weasyprint', '__init__.py')) as fd:
    VERSION = re.search("VERSION = '([^']+)'", fd.read().strip()).group(1)

with open(path.join(path.dirname(__file__), 'README')) as fd:
    LONG_DESCRIPTION = fd.read()


REQUIREMENTS = [
        # XXX: Keep this in sync with http://weasyprint.org/install/
        'lxml',
        'tinycss==0.3',
        'cssselect>=0.6',
        'CairoSVG>=0.4.1',
        # ... and others, not installable by pip.
]
if sys.version_info < (2, 7) or (3,) <= sys.version_info < (3, 2):
    # In the stdlib from 2.7:
    REQUIREMENTS.append('argparse')

setup(
    name='WeasyPrint',
    version=VERSION,
    url='http://weasyprint.org/',
{'fraction_non_alphanumeric': 0.16453295400663823, 'fraction_numerical': 0.02370791844476055, 'mean_word_length': 3.2031872509960158, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3965570', 'n_tokens_mistral': 756, 'n_tokens_neox': 712, 'n_words': 186}