[Python-bugs-list] [ python-Bugs-749210 ] bdist --formats=zip,wininst and bdist --formats=wininst,zip

SourceForge.net noreply@sourceforge.net
Wed, 11 Jun 2003 09:30:03 -0700


Bugs item #749210, was opened at 2003-06-05 00:47
Message generated for change (Comment added) made by theller
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=749210&group_id=5470

Category: Distutils
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Dubner (dubnerm)
>Assigned to: Thomas Heller (theller)
Summary: bdist --formats=zip,wininst and bdist --formats=wininst,zip

Initial Comment:
Commands
setup.py bdist --formats=zip,wininst
and
setup.py bdist --formats=wininst,zip
should create the same two archives, but in my config
first version (zip,wininst) creates broken .exe file -
no SCRIPTS and DATA directories - only PURELIB.
I'm using ActiveState Python 2.2.2 with included
distutils 1.0.3 under WinXP.

----------------------------------------------------------------------

>Comment By: Thomas Heller (theller)
Date: 2003-06-11 18:30

Message:
Logged In: YES 
user_id=11105

Oops, I didn't want to unassign it!

----------------------------------------------------------------------

Comment By: Thomas Heller (theller)
Date: 2003-06-11 18:21

Message:
Logged In: YES 
user_id=11105

Michael, can you please try the following patch and report
if it fixes your problem?

In the file distutils/command/bdist_wininst.py, replace the line
        install = self.reinitialize_command('install')
with this one:
        install = self.reinitialize_command('install',
reinit_subcommands=1)

This code is near line 103, just near the top of the 'def
run(self):' method.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=749210&group_id=5470