Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 59 lines (49 sloc) 1.853 kb
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Public Domain
"""
CairoSVG - A Simple SVG Converter for Cairo
===========================================
CairoSVG is a SVG converter based on Cairo. It can export SVG files to PDF,
PostScript and PNG files.
For further information, please visit the `CairoSVG Website
<http://www.cairosvg.org/>`_.
"""
import codecs
import re
from os import path
from distutils.core import setup
init_path = path.join(path.dirname(__file__), 'cairosvg', '__init__.py')
with codecs.open(init_path, 'r', 'utf-8') as fd:
VERSION = re.search("VERSION = '([^']+)'", fd.read().strip()).group(1)
# When the version is updated, ``cairosvg.VERSION`` must be modified.
# A new section in the ``NEWS`` file must be added too.
setup(
name="CairoSVG",
version=VERSION,
description="A Simple SVG Converter for Cairo",
long_description=__doc__,
author="Kozea",
author_email="guillaume.ayoub@kozea.fr",
url="http://www.cairosvg.org/",
license="GNU LGPL v3",
platforms="Any",
packages=["cairosvg", "cairosvg.surface"],
provides=["cairosvg"],
scripts=["bin/cairosvg"],
keywords=["svg", "cairo", "pdf", "png", "postscript"],
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: "
"GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Topic :: Multimedia :: Graphics :: Graphics Conversion"])
Jump to Line
Something went wrong with that request. Please try again.