Show More
@@ -13,8 +13,13 b' Target OS: Windows XP SP3 32bit English ' | |||||
13 | .. note:: |
|
13 | .. note:: | |
14 |
|
14 | |||
15 | This installation is for 32bit systems, for 64bit windows you might need |
|
15 | This installation is for 32bit systems, for 64bit windows you might need | |
16 |
to download proper 64bit version |
|
16 | to download proper 64bit versions of the different packages(Windows Installer, Win32py extensions) | |
17 | extensions |
|
17 | plus some extra tweaks. | |
|
18 | These extra steps haven been marked as "64bit". | |||
|
19 | Tested on Windows Server 2008 R2 SP1, 9-feb-2013. | |||
|
20 | If you run into any 64bit related problems, please check these pages: | |||
|
21 | - http://blog.victorjabur.com/2011/06/05/compiling-python-2-7-modules-on-windows-32-and-64-using-msvc-2008-express/ | |||
|
22 | - http://bugs.python.org/issue7511 | |||
18 |
|
23 | |||
19 | Step1 - Install Visual Studio 2008 Express |
|
24 | Step1 - Install Visual Studio 2008 Express | |
20 | ------------------------------------------ |
|
25 | ------------------------------------------ | |
@@ -41,6 +46,15 b' choose "Visual C++ 2008 Express" when in' | |||||
41 | Silverlight Runtime and SQL Server 2008 Express Edition are not |
|
46 | Silverlight Runtime and SQL Server 2008 Express Edition are not | |
42 | required, you can uncheck them |
|
47 | required, you can uncheck them | |
43 |
|
48 | |||
|
49 | .. note:: | |||
|
50 | 64bit: You also need to install the Microsoft Windows SDK for .NET 3.5 SP1 (.NET 4.0 won't work). | |||
|
51 | Download from: http://www.microsoft.com/en-us/download/details.aspx?id=3138 | |||
|
52 | ||||
|
53 | .. note:: | |||
|
54 | 64bit: You also need to copy and rename a .bat file to make the Visual C++ compiler work. | |||
|
55 | I am not sure why this is not necessary for 32bit. | |||
|
56 | Copy C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat to C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\vcvarsamd64.bat | |||
|
57 | ||||
44 |
|
58 | |||
45 | Step2 - Install Python |
|
59 | Step2 - Install Python | |
46 | ---------------------- |
|
60 | ---------------------- | |
@@ -54,6 +68,8 b' Installer". While writing this guide, th' | |||||
54 | Remember the specific major and minor version installed, because it will |
|
68 | Remember the specific major and minor version installed, because it will | |
55 | be needed in the next step. In this case, it is "2.7". |
|
69 | be needed in the next step. In this case, it is "2.7". | |
56 |
|
70 | |||
|
71 | .. note:: | |||
|
72 | 64bit: Just download and install the 64bit version of python. | |||
57 |
|
73 | |||
58 | Step3 - Install Win32py extensions |
|
74 | Step3 - Install Win32py extensions | |
59 | ---------------------------------- |
|
75 | ---------------------------------- | |
@@ -68,6 +84,10 b' http://sourceforge.net/projects/pywin32/' | |||||
68 | When writing this guide, the file was: |
|
84 | When writing this guide, the file was: | |
69 | http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/pywin32-217.win32-py2.7.exe/download |
|
85 | http://sourceforge.net/projects/pywin32/files/pywin32/Build%20217/pywin32-217.win32-py2.7.exe/download | |
70 |
|
86 | |||
|
87 | .. note:: | |||
|
88 | 64bit: Download and install the 64bit version. | |||
|
89 | At the time of writing you can find this at: | |||
|
90 | http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win-amd64-py2.7.exe/download | |||
71 |
|
91 | |||
72 | Step4 - Python BIN |
|
92 | Step4 - Python BIN | |
73 | ------------------ |
|
93 | ------------------ | |
@@ -146,6 +166,18 b' Command Prompt (**IMPORTANT!!**). To do ' | |||||
146 | "Microsoft Visual C++ 2008 Express Edition" -> "Visual Studio Tools" -> |
|
166 | "Microsoft Visual C++ 2008 Express Edition" -> "Visual Studio Tools" -> | |
147 | "Visual Studio 2008 Command Prompt" |
|
167 | "Visual Studio 2008 Command Prompt" | |
148 |
|
168 | |||
|
169 | .. note:: | |||
|
170 | 64bit: For 64bit you need to modify the shortcut that is used to start the | |||
|
171 | Visual Studio 2008 Command Prompt. Use right-mouse click to open properties. | |||
|
172 | Change commandline from:: | |||
|
173 | ||||
|
174 | %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86 | |||
|
175 | ||||
|
176 | to:: | |||
|
177 | ||||
|
178 | %comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" amd64 | |||
|
179 | ||||
|
180 | ||||
149 | In that CMD (loaded with VS2008 PATHs) type:: |
|
181 | In that CMD (loaded with VS2008 PATHs) type:: | |
150 |
|
182 | |||
151 | cd C:\RhodeCode\Env\Scripts (or similar) |
|
183 | cd C:\RhodeCode\Env\Scripts (or similar) |
General Comments 0
You need to be logged in to leave comments.
Login now