1from setuptools import setup, find_packages
2
3version = '1.1.0'
4
5try:
6 with open('DESCRIPTION.rst', 'r') as f:
7 longDesc = f.read()
8except:
9 print('Warning: Could not open DESCRIPTION.rst. long_description will be set to None.')
10 longDesc = None
11
12setup(
13 name = 'drawSvg',
14 packages = find_packages(),
15 version = version,
16 description = 'This is a Python 3 library for programmatically generating SVG images (vector drawings) and rendering them or displaying them in an iPython notebook.',
17 long_description = longDesc,
18 author = 'Casey Duckering',
19 #author_email = '',
20 url = 'https://github.com/cduck/drawSvg',
21 download_url = 'https://github.com/cduck/drawSvg/archive/{}.tar.gz'.format(version),
22 keywords = ['SVG', 'draw', 'graphics', 'iPython', 'Jupyter'],
23 classifiers = [
24 'License :: OSI Approved :: MIT License',
25 'Programming Language :: Python :: 3',
26 'Framework :: IPython',
27 'Framework :: Jupyter',
28 ],
29 install_requires = [
30 'cairoSVG',
31 ],
32)
33