[Distutils] Limitations of setup_requires
Joshua Boverhof
JRBoverhof at lbl.gov
Mon Oct 2 03:20:02 CEST 2006
Yes it is since I'm "generating" code when I do
"make_generated_packages".
On Oct 1, 2006, at 5:44 PM, Phillip J. Eby wrote:
> At 04:47 PM 9/29/2006 -0700, Joshua Boverhof wrote:
>> I included the "ZSI" package in "setup_requires" and
>> "install_requires", but it isn't retrieved/installed before I use
>> it via "make_generated_packages".
>>
>> Here is what I'm doing:
>>
>> class PGDistribution(_Distribution):
>> """Indirection so that setuptools grabs "setup_requires"
>> dependencies
>> before calling "_make_generated_package()"
>> """
>> def finalize_options (self):
>> if _make_generated_package() is True:
>> self.packages = find_packages()
>> _Distribution.finalize_options(self)
>
> I don't understand what the purpose of this code is. find_packages
> () is not going to give you a different result by being called
> here, than if you just called it in setup().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2526 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20061001/276bf3c5/attachment.bin
More information about the Distutils-SIG
mailing list