From d53be3dea895338e9f19947b59e2c06488c57fbb Mon Sep 17 00:00:00 2001 From: pje Date: Sat, 4 May 2013 15:34:27 -0400 Subject: Enable safe SSL dependency installs via "easy_install setuptools[ssl]" (grafted from 695a82c1934090e7c56ba74e7b5a2bdc13071698) --HG-- branch : setuptools-0.6 extra : source : 695a82c1934090e7c56ba74e7b5a2bdc13071698 --- setup.py | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index d4962687..b868d508 100755 --- a/setup.py +++ b/setup.py @@ -91,31 +91,31 @@ setup( Topic :: System :: Archiving :: Packaging Topic :: System :: Systems Administration Topic :: Utilities""".splitlines() if f.strip()], - scripts = scripts, + extras_require = { + "ssl:sys_platform=='win32'": "wincertstore==0.1", + "ssl:sys_platform=='win32' and python_version in '2.3, 2.4'": "ctypes==1.0.2", + "ssl:python_version in '2.3, 2.4, 2.5'":"ssl==1.16", + }, + dependency_links = [ + 'http://pypi.python.org/packages/source/s/ssl/ssl-1.16.tar.gz#md5=fb12d335d56f3c8c7c1fefc1c06c4bfb', + 'http://pypi.python.org/packages/source/w/wincertstore/wincertstore-0.1.zip#md5=2f9accbebe8f7b4c06ac7aa83879b81c', + 'http://sourceforge.net/projects/ctypes/files/ctypes/1.0.2/ctypes-1.0.2.win32-py2.3.exe/download#md5=9afe4b75240a8808a24df7a76b6081e3', + 'http://sourceforge.net/projects/ctypes/files/ctypes/1.0.2/ctypes-1.0.2.win32-py2.4.exe/download#md5=9092a0ad5a3d79fa2d980f1ddc5e9dbc', + 'http://peak.telecommunity.com/dist/ssl-1.16-py2.3-win32.egg#md5=658f74b3eb6f32050e8531bb73de8e74', + 'http://peak.telecommunity.com/dist/ssl-1.16-py2.4-win32.egg#md5=3cfa2c526dc66e318e8520b6f1aadce5', + 'http://peak.telecommunity.com/dist/ssl-1.16-py2.5-win32.egg#md5=85ad1cda806d639743121c0bbcb5f39b', + ], + scripts = [], # uncomment for testing # setup_requires = ['setuptools>=0.6a0'], + # tests_require = "setuptools[ssl]", ) - - - - - - - - - - - - - - - -- cgit v1.2.3