2016-10-29 07:35:51 +00:00
|
|
|
from setuptools import setup
|
|
|
|
import codecs
|
|
|
|
import os
|
2016-07-06 04:51:11 +00:00
|
|
|
|
2016-10-29 07:35:51 +00:00
|
|
|
|
2021-09-23 11:13:12 +00:00
|
|
|
VERSION = '1.4.2'
|
2016-07-06 04:51:11 +00:00
|
|
|
AUTHOR_NAME = 'Andy Port'
|
|
|
|
AUTHOR_EMAIL = 'AndyAPort@gmail.com'
|
2021-09-23 10:03:30 +00:00
|
|
|
GITHUB = 'https://github.com/mathandy/svgpathtools'
|
2016-07-06 04:51:11 +00:00
|
|
|
|
2021-10-19 05:20:24 +00:00
|
|
|
_here = os.path.abspath(os.path.dirname(__file__))
|
2016-10-29 07:35:51 +00:00
|
|
|
|
2021-10-19 05:20:24 +00:00
|
|
|
|
|
|
|
def read(relative_path):
|
|
|
|
"""Reads file at relative path, returning contents as string."""
|
|
|
|
with codecs.open(os.path.join(_here, relative_path), "rb", "utf-8") as f:
|
2016-10-29 07:35:51 +00:00
|
|
|
return f.read()
|
|
|
|
|
|
|
|
|
2016-07-06 04:51:11 +00:00
|
|
|
setup(name='svgpathtools',
|
|
|
|
packages=['svgpathtools'],
|
|
|
|
version=VERSION,
|
|
|
|
description=('A collection of tools for manipulating and analyzing SVG '
|
|
|
|
'Path objects and Bezier curves.'),
|
2020-11-15 07:31:53 +00:00
|
|
|
long_description=read("README.md"),
|
2020-11-15 07:42:36 +00:00
|
|
|
long_description_content_type='text/markdown',
|
2016-07-06 04:51:11 +00:00
|
|
|
author=AUTHOR_NAME,
|
|
|
|
author_email=AUTHOR_EMAIL,
|
2021-09-23 10:03:30 +00:00
|
|
|
url=GITHUB,
|
2021-09-23 11:37:37 +00:00
|
|
|
download_url='{}/releases/download/{}/svgpathtools-{}-py2.py3-none-any.whl'
|
|
|
|
''.format(GITHUB, VERSION, VERSION),
|
2016-07-06 04:51:11 +00:00
|
|
|
license='MIT',
|
2018-08-22 02:36:35 +00:00
|
|
|
install_requires=['numpy', 'svgwrite'],
|
2016-07-06 04:51:11 +00:00
|
|
|
platforms="OS Independent",
|
2018-08-22 02:36:35 +00:00
|
|
|
requires=['numpy', 'svgwrite'],
|
2016-07-24 00:29:22 +00:00
|
|
|
keywords=['svg', 'svg path', 'svg.path', 'bezier', 'parse svg path', 'display svg'],
|
2020-11-15 07:37:09 +00:00
|
|
|
classifiers=[
|
2016-10-05 23:53:28 +00:00
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 2",
|
|
|
|
"Programming Language :: Python :: 3",
|
2021-10-19 05:20:24 +00:00
|
|
|
"Programming Language :: Python :: 2.7",
|
|
|
|
"Programming Language :: Python :: 3.5",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
2016-10-05 23:53:28 +00:00
|
|
|
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based",
|
|
|
|
"Topic :: Scientific/Engineering",
|
|
|
|
"Topic :: Scientific/Engineering :: Image Recognition",
|
|
|
|
"Topic :: Scientific/Engineering :: Information Analysis",
|
|
|
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
|
|
"Topic :: Scientific/Engineering :: Visualization",
|
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
|
|
],
|
2016-07-06 04:51:11 +00:00
|
|
|
)
|