File: setup.py

package info (click to toggle)
cairosvg 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,040 kB
  • sloc: python: 2,979; sh: 14; makefile: 5; javascript: 1
file content (26 lines) | stat: -rwxr-xr-x 574 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
#
# Public Domain

"""
CairoSVG - A Simple SVG Converter Based on Cairo
================================================

CairoSVG is an SVG converter based on Cairo. It can convert SVG files to PDF,
EPS, PS, and PNG files.

For further information, please visit the `CairoSVG Website
<http://cairosvg.org/>`_.

"""

import sys

from setuptools import setup

if sys.version_info.major < 3:
    raise RuntimeError(
        'CairoSVG does not support Python 2.x anymore. '
        'Please use Python 3 or install an older version of CairoSVG.')

setup()