mirror of
https://github.com/Kozea/WeasyPrint.git
synced 2024-10-05 16:37:47 +03:00
b40ad461be
Everything is replaced by a more explicit message in the COPYRIGHT file. Inspired by rust-lang/rust#43498 and rust-lang/rust#57108.
21 lines
349 B
Python
Executable File
21 lines
349 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
"""
|
|
WeasyPrint
|
|
==========
|
|
|
|
WeasyPrint converts web documents to PDF.
|
|
|
|
"""
|
|
|
|
import sys
|
|
|
|
from setuptools import setup
|
|
|
|
if sys.version_info.major < 3:
|
|
raise RuntimeError(
|
|
'WeasyPrint does not support Python 2.x anymore. '
|
|
'Please use Python 3 or install an older version of WeasyPrint.')
|
|
|
|
setup()
|