[Distutils] distutils.core.setup --install-script option in Python 2.6 ?

Jim Vickroy Jim.Vickroy at noaa.gov
Fri Nov 13 16:36:43 CET 2009

Tarek Ziadé wrote:
> On Thu, Nov 12, 2009 at 12:31 PM, Jim Vickroy <Jim.Vickroy at noaa.gov> wrote:
>> Hello,
>> Please excuse the repost (sent last week), but I'm hoping someone on the
>> list can get me on-track with a distutils problem.
>> I have just upgraded from Python 2.5 to 2.6.4 (MS Windows XP service pack
>> 3).
>> My setup.py scripts (based on distutils.core.setup) no longer work with the
>> --install-script option.  Here is the error:
>>  * error: option --install-script not recognized
> Hi Jim,
> the option (in 2.5 and 2.6) is "--install-scripts" (notice the final 's')
> Regards
> Tarek
Hello Tarek,

*--*install-script_*s*_ is not recognized (see below) -- at least with 
Python 2.6.4 on MS Windows.

C:\Documents and Settings\jim.vickroy\My Documents\Projects>"D-RAP 
INSTALLER BUILDER.py" bdist_wininst 

usage: D-RAP INSTALLER BUILDER.py [global_opts] cmd1 [cmd1_opts] [cmd2 
[cmd2_opts] ...]
   or: D-RAP INSTALLER BUILDER.py --help [cmd1 cmd2 ...]
   or: D-RAP INSTALLER BUILDER.py --help-commands
   or: D-RAP INSTALLER BUILDER.py cmd --help

error: option --install-scripts not recognized

C:\Documents and Settings\jim.vickroy\My Documents\Projects>

-- jv
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20091113/bbc89036/attachment-0001.htm>

More information about the Distutils-SIG mailing list