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