Changeset 0f11bcd1cd42…
Parent 7a8008f5ede8…
by
Changes to one file · Browse files at 0f11bcd1cd42 Showing diff from parent 7a8008f5ede8 Diff from another changeset...
@@ -129,3 +129,45 @@ To build x64 packages, you use:
C:\python26x64\python.exe setup.py --help
+
+
+== Example for preparing a working build machine from scratch ==
+
+Below is a detailed journal of steps that worked for setting up a
+TortoiseHg build machine from scratch.
+
+ 1) Windows 7 x64 SP1 installed, logged in as <user>
+ 2a) Installed python-2.6.6.amd64.msi in C:\Python26-x64, added this dir to PATH
+ 2b) Installed python-2.6.6.msi in C:\Python26, deselected "Register Extensions"
+ on feature selection during install to *not* have this Python as default
+ 3) Installed "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1"
+ 4) Installed gettext-0.14.4
+ 5a) Installed py2exe-0.6.9.win64-py2.6.amd64.exe in C:\Python26-x64
+ 5b) Installed py2exe-0.6.9.win32-py2.6.exe in C:\Python26
+ 6a) Installed setuptools-0.6c11.win32-py2.6.exe in C:\Python26
+ 6b) Downloaded ez_setup.py as explained on http://pypi.python.org/pypi/setuptools
+ and ran "C:\Python26-x64\python.exe ez_setup.py"
+ 7a) Ran "C:\Python26\Scripts\easy_install.exe docutils"
+ 7b) Ran "C:\Python26-x64\Scripts\easy_install.exe docutils"
+ 8a) Ran "C:\Python26\Scripts\easy_install.exe sphinx"
+ 8b) Ran "C:\Python26-x64\Scripts\easy_install.exe sphinx"
+ 9) Installed "Basic MiKTeX 2.9" Installer, setting "Install missing packages
+ on the fly" to "Yes"
+ 10a) Installed PyQt-Py2.6-x64-gpl-4.8.5-1.exe in C:\Python26-x64
+ 10b) Installed PyQt-Py2.6-x86-gpl-4.8.5-1 in C:\Python26
+ 11a) Installed pywin32-216.win-amd64-py2.6.exe in C:\Python26-x64
+ 11b) Installed pywin32-216.win32-py2.6.exe in C:\Python26
+ 12) Installed Wix3.msi from http://wix.codeplex.com/releases/view/44406
+ 13) Installed htmlhelp.exe from
+ http://www.microsoft.com/download/en/details.aspx?id=21138
+ 14a) Installed comtypes-0.6.2.win32.exe
+ 14b) Ran "C:\Python26-x64\Scripts\easy_install.exe comtypes"
+ 15) Donloaded svn_py26_x64.zip and svn_py26_x86.zip from
+ https://bitbucket.org/tortoisehg/thg/downloads and extracted the
+ svn and libsvn folders under C:\Python*\lib\site-packages
+ 16) Installed tortoisehg-2.1.2-hg-1.9.1-x64.msi, then logoff/logon
+ 17) Created empty folder C:\Users\<user>\hgrepos, opened cmd.exe in that folder
+ 18) Ran "hg clone https://bitbucket.org/tortoisehg/thg-build"
+ 19) cd thg-build/winbuild
+ 20) Ran "C:\Python26\python.exe setup.py --thg-dev" -> built a x86 msi
+ 21) Ran "C:\Python26-x64\python.exe setup.py --thg-dev" -> built a x64 msi
|
Loading...