Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>pip uses Setuptools, and doesn't require any changes to packages. It actually installs packages with Setuptools, using:</p> <pre><code>python -c 'import setuptools; __file__="setup.py"; execfile(__file__)' \ install \ --single-version-externally-managed </code></pre> <p>Because it uses that option (<code>--single-version-externally-managed</code>) it doesn't ever install eggs as zip files, doesn't support multiple simultaneously installed versions of software, and the packages are installed flat (like <code>python setup.py install</code> works if you use only distutils). Egg metadata is still installed. pip also, like easy_install, downloads and installs all the requirements of a package. </p> <p><em>In addition</em> you can also use a requirements file to add other packages that should be installed in a batch, and to make version requirements more exact (without putting those exact requirements in your <code>setup.py</code> files). But if you don't make requirements files then you'd use it just like easy_install.</p> <p>For your <code>install_requires</code> I don't recommend any changes, unless you have been trying to create very exact requirements there that are known to be good. I think there's a limit to how exact you can usefully be in <code>setup.py</code> files about versions, because you can't really know what the future compatibility of new libraries will be like, and I don't recommend you try to predict this. Requirement files are an alternate place to lay out conservative version requirements.</p> <p>You can still use <code>python setup.py develop</code>, and in fact if you do <code>pip install -e svn+http://mysite/svn/Project/trunk#egg=Project</code> it will check that out (into <code>src/project</code>) and run <code>setup.py develop</code> on it. So that workflow isn't any different really.</p> <p>If you run pip verbosely (like <code>pip install -vv</code>) you'll see a lot of the commands that are run, and you'll probably recognize most of them.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload