-
-
Notifications
You must be signed in to change notification settings - Fork 64
/
setup.py
54 lines (50 loc) · 1.59 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
from setuptools import setup, find_packages
import logging
logger = logging.getLogger(__name__)
version = '2.4.0'
try:
with open('README.md', 'r') as f:
long_desc = f.read()
except:
logger.warning('Could not open README.md. long_description will be set to None.')
long_desc = None
setup(
name = 'drawsvg',
packages = find_packages(),
version = version,
description = 'A Python 3 library for programmatically generating SVG (vector) images and animations. Drawsvg can also render to PNG, MP4, and display your drawings in Jupyter notebook and Jupyter lab.',
long_description = long_desc,
long_description_content_type = 'text/markdown',
author = 'Casey Duckering',
#author_email = '',
url = 'https://github.com/cduck/drawsvg',
download_url = 'https://github.com/cduck/drawsvg/archive/{}.tar.gz'.format(version),
keywords = ['SVG', 'draw', 'graphics', 'iPython', 'Jupyter', 'widget', 'animation'],
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Framework :: IPython',
'Framework :: Jupyter',
],
install_requires = [
],
extras_require = {
'raster': [
'cairoSVG~=2.3',
'numpy~=1.16',
'imageio~=2.5',
'imageio_ffmpeg~=0.4',
],
'color': [
'pwkit~=1.0',
'numpy~=1.16',
],
'all': [
'cairoSVG~=2.3',
'numpy~=1.16',
'imageio~=2.5',
'imageio_ffmpeg~=0.4',
'pwkit~=1.0',
],
},
)