#!/usr/bin/python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

try:
    import svglayers2pdf
    version = svglayers2pdf.__version__
except ImportError:
    version = 'Undefined'

packages = ['svglayers2pdf']
requires = ['argparse', 'lxml', 'pyPdf']
scripts  = []

setup(
      name='SVGlayers2pdf',
      version      = version,
      author       = 'Jean-Frédéric',
      author_email = 'JeanFred@github',
      url          = 'http://github.com.org/JeanFred/SVGlayers2pdf',
      description  = 'Converting SVG Inkscape layers to PDF',
      license      = 'GPLv3',
      entry_points = {
        'console_scripts': [
            'svglayers2pdf = svglayers2pdf.SVGconvert:main',
            ]
        },
      packages=packages,
      install_requires=requires,
      scripts=scripts,
)
