distribute

What's the proper way to install pip, virtualenv, and distribute for Python?

喜欢而已 提交于 2019-11-26 01:34:28
问题 Short Question What is the proper way to install pip, virtualenv, and distribute? Background In my answer to SO question 4314376, I recommended using ez_setup so that you could then install pip and virtualenv as follows: curl -O http://peak.telecommunity.com/dist/ez_setup.py sudo python ez_setup.py sudo easy_install pip sudo pip install virtualenv I originally pulled these instructions from Jesse Noller\'s blog post So you want to use Python on the Mac?. I like the idea of keeping a clean

Differences between distribute, distutils, setuptools and distutils2?

陌路散爱 提交于 2019-11-26 01:27:55
问题 The Situation I’m trying to port an open-source library to Python 3. (SymPy, if anyone is wondering.) So, I need to run 2to3 automatically when building for Python 3. To do that, I need to use distribute . Therefore, I need to port the current system, which (according to the doctest) is distutils . The Problem Unfortunately, I’m not sure what’s the difference between these modules— distutils , distribute , setuptools . The documentation is sketchy as best, as they all seem to be a fork of one