Debian Codegraph @

setup.py

raw
1 #!/usr/bin/env python
2 #
3 # Public Domain
4
5 """
6 CairoSVG - A Simple SVG Converter Based on Cairo
7 ================================================
8
9 CairoSVG is an SVG converter based on Cairo. It can convert SVG files to PDF,
10 EPS, PS, and PNG files.
11
12 For further information, please visit the `CairoSVG Website
13 <http://cairosvg.org/>`_.
14
15 """
16
17 import sys
18
19 from setuptools import setup
20
21 if sys.version_info.major < 3:
22 raise RuntimeError(
23 'CairoSVG does not support Python 2.x anymore. '
24 'Please use Python 3 or install an older version of CairoSVG.')
25
26 setup()