[Distutils] install_requires vs requires

Tarek Ziadé ziade.tarek at gmail.com
Tue Dec 15 10:10:46 CET 2009

On Tue, Dec 15, 2009 at 8:28 AM, David Cournapeau <cournape at gmail.com> wrote:
> Hi,
> I am working on a new packaging solution, and I want to convert
> existing setup.py. I noticed that the install_requires as used by
> setuptools is not put into PKG-INFO as requires. Is this expected ?

Yes because it is not part of the standard, so setuptools is putting
this in "requires.txt"
which could be considered as an extension to the metadata.

PEP 345 will include a new field that can replace requires.txt.

> What is the difference between requires and require_install ? What
> happens when both have different values ?

What are those names ?

See http://packages.python.org/distribute/setuptools.html#new-and-changed-setup-keywords
for the list of new keywords introduced by Setuptools (+ a few more by

> cheers,
> David
> _______________________________________________
> Distutils-SIG maillist  -  Distutils-SIG at python.org
> http://mail.python.org/mailman/listinfo/distutils-sig

Tarek Ziadé | http://ziade.org

More information about the Distutils-SIG mailing list