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().

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to