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