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


Groups > comp.lang.python > #50687

Question regarding building Python Windows installer

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <philip.w.mcadams@intel.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'syntax': 0.04; 'argument': 0.05; 'i?m': 0.05; 'received:169.254.1': 0.05; 'subject:Python': 0.06; '64-bit': 0.07; 'error:': 0.07; 'modify': 0.07; 'subject:Question': 0.07; 'mercurial': 0.09; 'python:': 0.09; 'setup.py': 0.09; 'python': 0.11; 'windows': 0.15; 'command:': 0.16; 'iterable': 0.16; 'syntaxerror:': 0.16; 'tried:': 0.16; 'typeerror:': 0.16; 'apps': 0.16; 'folder': 0.16; 'followed': 0.16; 'trying': 0.19; 'pfxlen:0': 0.19; 'print': 0.22; 'install': 0.23; 'cc:2**1': 0.23; 'cell:': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'appreciated.': 0.29; 'errors': 0.30; "i'm": 0.30; 'code': 0.31; 'allows': 0.31; 'file': 0.32; 'received:169.254': 0.32; 'run': 0.32; 'url:python': 0.33; 'url:rec-html40': 0.35; 'subject:regarding': 0.36; 'charset:us-ascii': 0.36; 'url:org': 0.36; 'received:169': 0.37; 'url:microsoft': 0.37; 'skip:- 20': 0.37; 'received:10': 0.37; 'server': 0.38; 'thank': 0.38; '2008': 0.38; 'url:office': 0.38; 'needed': 0.38; 'to:addr:python-list': 0.38; 'url:schemas': 0.38; 'url:omml': 0.39; 'url:2004': 0.39; 'explain': 0.39; 'url:12': 0.39; 'to:addr:python.org': 0.39; 'you.': 0.62; 'here:': 0.62; 'invalid': 0.68; 'installer': 0.84; 'navigate': 0.91; 'philip': 0.95
X-ExtLoop1 1
X-IronPort-AV E=Sophos;i="4.89,668,1367996400"; d="scan'208,217";a="370416695"
From "Mcadams, Philip W" <philip.w.mcadams@intel.com>
To "'python-list@python.org'" <python-list@python.org>
Subject Question regarding building Python Windows installer
Thread-Topic Question regarding building Python Windows installer
Thread-Index Ac5/RxmkjEbi10DITrm6Fx61LSpXUQCFTSrQ
Date Mon, 15 Jul 2013 13:11:09 +0000
References <7B6560631CF08A4B8189A9CB669768F4228E86B7@FMSMSX101.amr.corp.intel.com>
In-Reply-To <7B6560631CF08A4B8189A9CB669768F4228E86B7@FMSMSX101.amr.corp.intel.com>
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
x-originating-ip [10.1.200.108]
Content-Type multipart/alternative; boundary="_000_7B6560631CF08A4B8189A9CB669768F4228EB578FMSMSX101amrcor_"
MIME-Version 1.0
Cc "Mcadams, Philip W" <philip.w.mcadams@intel.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4729.1373893945.3114.python-list@python.org> (permalink)
Lines 189
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1373893945 news.xs4all.nl 15935 [2001:888:2000:d::a6]:36336
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:50687

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

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.

Thank you.

Philip McAdams
Systems Administrator - NVM Solutions Group Systems Engineering Apps & Infrastructure
Desk: (916) 377-6156 Cell: (916) 534-0092 Pole: FM3-1-D7

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Question regarding building Python Windows installer "Mcadams, Philip W" <philip.w.mcadams@intel.com> - 2013-07-15 13:11 +0000

csiph-web