Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #50689 > unrolled thread

Re: Question regarding building Python Windows installer

Started byMRAB <python@mrabarnett.plus.com>
First post2013-07-15 15:27 +0100
Last post2013-07-15 15:27 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Question regarding building Python Windows installer MRAB <python@mrabarnett.plus.com> - 2013-07-15 15:27 +0100

#50689 — Re: Question regarding building Python Windows installer

FromMRAB <python@mrabarnett.plus.com>
Date2013-07-15 15:27 +0100
SubjectRe: Question regarding building Python Windows installer
Message-ID<mailman.4730.1373898436.3114.python-list@python.org>
On 15/07/2013 14:11, Mcadams, Philip W wrote:
> I’m attempting to create a Python 64-bit Windows Installer.  Following
> the instructions here: http://docs.python.org/2/distutils/builtdist.html
> I’m to navigate to my Python folder and user command:
>
> python setup.py build --plat-name=win-amd64 bdist_wininst
>
> I get error: COMPILED_WTH_PYDEBUG = (‘—with-pydebug’ in
> sysconfig.get_config_var(“CONFIG_ARGS”))
>
> TypeError: argument of type ‘NoneType’ is not iterable
>
> I also have tried:
>
> setup.py build --plat-name=win-amd64 bdist_wininst
>
> and get error:
>
> File “setup.py”, line 263
> Print “%-*s %-*s %-*s” % (longest, e, longet, f,
>
> SyntaxError: invalid syntax
>
Does the line really start with "Print" (initial capital letter)?

Also, are you using Python 2 or Python 3? From the link above it looks
like Python 2.

> I followed the instructions here:
> http://docs.python.org/devguide/setup.html to create a PC build for
> Windows which allows me to run a Python prompt.  Now I need to create a
> Windows Installer to install this Python on a Windows Server 2008 R2 box.
>
> To explain why I’m attempting to do this instead of just using the
> Windows Installer provided by Python:
>
> I needed to modify a _ssl.c file in the Python source code to deal a
> Mercurial that I’m trying to resolve.
>
> Any help on why I’m hitting these errors would be appreciated.
>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web