From 3b33445c25a468a94aaa55deae7a19486240b56b Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Thu, 23 Sep 2021 03:03:30 -0700 Subject: [PATCH] add download_url to setup.py --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 0228665..3375d4c 100644 --- a/setup.py +++ b/setup.py @@ -6,6 +6,7 @@ import os VERSION = '1.4.1' AUTHOR_NAME = 'Andy Port' AUTHOR_EMAIL = 'AndyAPort@gmail.com' +GITHUB = 'https://github.com/mathandy/svgpathtools' def read(*parts): @@ -27,8 +28,8 @@ setup(name='svgpathtools', long_description_content_type='text/markdown', author=AUTHOR_NAME, author_email=AUTHOR_EMAIL, - url='https://github.com/mathandy/svgpathtools', - # download_url = 'http://github.com/mathandy/svgpathtools/tarball/'+VERSION, + url=GITHUB, + download_url='{}/raw/1.4.1/dist/svgpathtools-{}.tar.gz'.format(GITHUB, VERSION), license='MIT', install_requires=['numpy', 'svgwrite'], platforms="OS Independent",