forked from deeplook/svglib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (53 loc) · 2.02 KB
/
setup.py
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import sys
from setuptools import setup
__version__ = '0.9.0'
__license__ = 'LGPL 3'
__author__ = 'Dinu Gherman'
__date__ = '2018-12-08'
install_requires = open('requirements.txt').read().strip().split()
v = sys.version_info
if (v.major, v.minor) < (2, 7):
install_requires.append('argparse')
needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
setup(
name='svglib',
version=__version__,
author=__author__,
author_email='@'.join(['gherman', 'darwin.in-berlin.de']),
description='A pure-Python library for reading and converting SVG',
long_description=open('README.rst').read(),
license='LGPL 3',
platforms = ['Posix', 'Windows'],
keywords='SVG, PDF, reportlab, conversion, graphics',
url='https://github.com/deeplook/svglib',
install_requires=install_requires,
setup_requires=[] + pytest_runner,
tests_require=['pytest'],
package_dir = {'svglib': 'svglib'},
packages = ['svglib'],
py_modules = [],
scripts = ['scripts/svg2pdf'],
classifiers=[
# see http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Documentation',
'Topic :: Utilities',
'Topic :: Printing',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: XML',
],
)