From: W. Trevor King Date: Sat, 30 Nov 2013 19:08:20 +0000 (-0800) Subject: swc-installation-test-2.py: Prefer pip to easy_install X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=45dd7e25f82d47066740412a38d912805227d207;p=swc-workshop.git swc-installation-test-2.py: Prefer pip to easy_install For virtual-pypi-installer. easy_install is part of Setuptools [1], which was dead for several years. The Distribute fork took over, but has since been merged back into a revitalized Setuptools (since Setuptools v0.7 [2], tagged on 2013-06-02 [3]). Pip >= v1.4 actually requires a modern Setuptools, not Distribute [4]. Pip also improves on easy_install [5], which does not currently support uninstalling packages [6]. [1]: http://pythonhosted.org/setuptools/ [2]: http://pythonhosted.org/distribute/ [3]: https://bitbucket.org/pypa/setuptools/commits/tag/0.7 [4]: http://www.pip-installer.org/en/latest/installing.html#id6 [5]: http://www.pip-installer.org/en/latest/other-tools.html#easy-install [6]: http://pythonhosted.org/setuptools/easy_install.html#uninstalling-packages --- diff --git a/swc-installation-test-2.py b/swc-installation-test-2.py index 7f55b33..581d725 100755 --- a/swc-installation-test-2.py +++ b/swc-installation-test-2.py @@ -853,8 +853,8 @@ for name,long_name,dependencies in [ 'safari', )), ('virtual-pypi-installer', 'PyPI installer', ( - 'easy_install', 'pip', + 'easy_install', )), ]: CHECKER[name] = VirtualDependency(