[Distutils] bdist_egg doesn't call build?
Phillip J. Eby
pje at telecommunity.com
Fri Sep 12 20:21:22 CEST 2008
At 12:27 PM 9/12/2008 -0500, chris wrote:
>I created a custom build command, and was hoping it would be called
>when I ran bdist_egg. However, what appears to happen is that
>bdist_egg runs all of build's subcommands directly, and my custom
>build command never runs. Is this what's supposed to happen?
What happens is bdist_egg runs install_lib, install_scripts, and
install_data. It's these commands that run any build subcommands
that apply. bdist_egg doesn't actually invoke *any* build commands directly.
> If so,
>how do I make it call my custom build command short of subclassing
>bdist_egg and using self.run_command('build')?
Short of that? You can't.
More information about the Distutils-SIG
mailing list