Make egg_info command write out setup requirements

#106 Merged at 858c020
Deleted repository
default (b0b6cfaeef1d)
  1. Richard Ipsum


As detailed in the commit message, this change makes the egg_info command write out setup requirements as well as install requirements. The motivation for this change is to allow a tool I'm writing for the Baserock[1] project to easily obtain "build" dependencies from a python package.

The change itself is quite minimal and is hopefully of some benefit to others.

Many thanks, Richard Ipsum

[1] Baserock

Comments (4)

  1. Jason R. Coombs

    @ncoghlan Do you have any objections to this change? It seems reasonable to me, but I wonder if it has any impact on the metadata specs.

  2. Nick Coghlan

    Fine by me - PEP 426 and any associated updates to the sdist and wheel format definitions are deliberately designed to co-exist with the existing setuptools metadata files, and that will cover this one as well.

    Likely worth mentioning on distutils-sig though - PEP 426 standardisation is still some time away, and this may be useful to other folks in the meantime.

    It would also be handy if there was a setuptools docs update associated with the change :)

  3. Jason R. Coombs

    Bitbucket seems to be having problems. I've merged this commit as requested and released it as 8.4, but the PR still shows as open and I'm unable to decline it.