Thanks for some of the advice,<br><br>A little background so my questions make sense.<br><br>This deployment is for a mission critical application. I am migrating it from python-2.4 to 2.5 also changing the code which uses numarray/numeric to use numpy which is one of the main parts of the move (I thought), this is necessary as python &gt; 2.5 uses numpy instead. This also should allow us to manipulate objects over 2GB, I believe this would only be on 64bit platforms though hence my need for 64 bit.<br>
<br>Firstly, I am currently using VS2005 as I am compiling Python-2.5.2 because I was going for the most stable python. Everyone here seems to think I should be using 2.6, as far as I can tell this is still in alpha and I am not convinced of the wisdom of using an alpha testing system for production. Secondly we don&#39;t have 2008 yet in my organisation and the express edition doesn&#39;t contain the 64 bit compiler.<br>
<br>All my development is on a 64bit system (I am not cross compiling). I have been using the SDK for server 2003. If I manage to sort this out anything I have I will be sure to share. However although I have managed to coax subversion to download through our firewall I have not yet managed to get CVS to do so and have been downloading CVS at home on my linux machine and e-mailing it in (not ideal!).<br>
<br>What do people think of python 2.6 on windows? is it ready? I note the first beta should be out on the 4th June, this might be more reasonable. I don&#39;t think I could sell &quot;let&#39;s use this alpha version in production&quot; to anyone ;)<br>
<br>Thanks,<br><br>Hanni<br><br><br><br><br><div class="gmail_quote">2008/5/31 Mark Hammond &lt;<a href="mailto:mhammond@skippinet.com.au">mhammond@skippinet.com.au</a>&gt;:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">











<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">There is a buglet in bdist_wininst and --skip-build - note that the
filename created by your process doesn&#39;t have &quot;py2.6&quot; included in the
filename.&nbsp; To fix that, the final command should also include
&quot;--target-version=2.6&quot;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Cheers,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Mark</span></p>

</div>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> Marc-André Belzile
[mailto:<a href="mailto:mbelzile@softimage.com" target="_blank">mbelzile@softimage.com</a>] <br>
<b>Sent:</b> Saturday, 31 May 2008 1:03 PM<br>
<b>To:</b> Mark Hammond; Hanni Ali; <a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<b>Subject:</b> RE: [python-win32] building pywin32 on Server 2003 x64</span></p>

</div>

</div><div><div></div><div class="Wj3C7c">

<p>&nbsp;</p>

<p><span style="font-size: 10pt; color: blue;">Meanwhile, if you&#39;re still up to the challenge, here are&nbsp;the
steps I used for building pywin32 for vista 64:</span></p>

<p>&nbsp;</p>

<div>

<p><span style="font-size: 10pt; color: blue;">1) svn co <a href="http://svn.python.org/projects/python/trunk" target="_blank">http://svn.python.org/projects/python/trunk</a>
python <br>
2) compile python 2.6 for x64 from VS2008 IDE or Windows SDK<br>
3) open x64 command-prompt <br>
4) log as anonymous to pywin32 server: cvs
-d:pserver:anonymous@pywin32.cvs.sourceforge.net:/cvsroot/pywin32 login <br>
5) download latest pywin32 source: cvs -z3 -d:pserver:anonymous@pywin32.cvs.sourceforge.net:/cvsroot/pywin32
co -P pywin32 <br>
6) c:\dev\pywin32&gt;\build ..\python2.6\python\PCbuild\python.exe setup.py
build --plat-name=win-amd64 <br>
7) c:\dev\pywin32&gt;\build ..\python2.6\python\PCbuild\python.exe setup.py
bdist_wininst --skip-build </span></p>

</div>

<div>

<p><br>
<span style="font-size: 10pt; color: blue;">The
pywin32 install package should be generated here
c:\dev\pywin32&gt;\build\dist\pywin32-210.9.win32.exe</span></p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p><span style="font-size: 10pt; color: blue;">Hope that helps</span></p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p><span style="font-size: 10pt; color: blue;">-mab</span></p>

</div>

<div>

<p><span style="font-size: 10pt; color: blue;">&nbsp;</span></p>

</div>

<p>&nbsp;</p>

<div style="text-align: center;" align="center">

<hr align="center" size="2" width="100%">

</div>

<p style="margin-bottom: 12pt;"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:python-win32-bounces@python.org" target="_blank">python-win32-bounces@python.org</a>
[mailto:<a href="mailto:python-win32-bounces@python.org" target="_blank">python-win32-bounces@python.org</a>] <b>On Behalf Of </b>Mark Hammond<br>
<b>Sent:</b> May-30-08 6:38 PM<br>
<b>To:</b> &#39;Hanni Ali&#39;; <a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<b>Subject:</b> Re: [python-win32] building pywin32 on Server 2003 x64</span></p>

<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; margin: 5pt 0cm 5pt 3.75pt; padding: 0cm 0cm 0cm 4pt;">


<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">pywin32 builds on a 64bit environment, but you need the SVN
trunk of Python, the CVS trunk of pywin32, and VS2008.&nbsp; VS2005 support
isn&#39;t *that* interesting to me as there are no Python binaries available built
with that compiler and I can&#39;t get <a href="http://VS.NET" target="_blank">VS.NET</a> to build with the most recent Vista
SDK, which is needed for recent pywin32 functionality.&nbsp; A Python 2.6 amd64
build will be included in the next release.</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Cheers,</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Mark</span></p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">

<div>

<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0cm 0cm;">

<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:python-win32-bounces@python.org" target="_blank">python-win32-bounces@python.org</a> [mailto:<a href="mailto:python-win32-bounces@python.org" target="_blank">python-win32-bounces@python.org</a>] <b>On
Behalf Of </b>Hanni Ali<br>
<b>Sent:</b> Friday, 30 May 2008 11:00 PM<br>
<b>To:</b> <a href="mailto:python-win32@python.org" target="_blank">python-win32@python.org</a><br>
<b>Subject:</b> [python-win32] building pywin32 on Server 2003 x64</span></p>

</div>

</div>

<p>&nbsp;</p>

<div>

<p>Hi All,</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>I am attempting to build pywin32 for a 64 bit deployment.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>It is necessary for us to use 64 bit python due to objects
within our application exceeding 2GB in size.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>I am attempting to do so using msvc 2005 which I know is not
ideal,&nbsp;but I have managed to build the other dependencies (Python, numpy),
my attention is now on pywin32.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>Firstly although I have managed to get it compiling, I was
not able to use the instruction:</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>setup.py build --plat-name=win-amd64</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>The setup script reported plat-name as not existing.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>Secondly is&nbsp;anyone building pywin32 on 64 bit machines?</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>Although I seem to have hacked it suficiently to get it to
compile linking fails with errors of this manner:</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved
external symbol __imp_Get<br>
CurrentThreadId referenced in function __security_init_cookie</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>I appreciate any help anyone can give.</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>Thanks</p>

</div>

<div>

<p>&nbsp;</p>

</div>

<div>

<p>Hanni</p>

</div>

</div>

</blockquote>

</div></div></div>

</div>

</div>


</blockquote></div><br>