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

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

Reply via email to