Based on my earlier work, it brings me much pleasure to contribute the
attached patch (which requires the earlier, lexicographical-order patch to be
applied first). The following attached file makes distutils automatically add
dependencies to the Requires: field in the RPM spec file, if the egg metadata
specifies any primary dependency.
With this patch, it is no longer needed to manually specify your dependencies
in both setup.cfg and requires.txt. DRY FTW!
regards,
--
Manuel Amador (Rudd-O) <rudd-o(a)rudd-o.com>
Rudd-O.com -
http://rudd-o.com/
GPG key ID 0xC8D28B92 at
http://wwwkeys.pgp.net/
Some people have a way about them that seems to say: "If I have
only one life to live, let me live it as a jerk."