Changes between Version 4 and Version 5 of WindowsBuild
- Timestamp:
- 2009-03-02T20:29:13Z (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WindowsBuild
v4 v5 1 1 == Content == 2 2 3 '''Building darcs trunk'''[[BR]] 3 4 '''Building from a tarball'''[[BR]] 4 '''Building darcs trunk'''[[BR]]5 5 '''Running as different user'''[[BR]] 6 6 7 7 8 == Building darcs trunk == 9 10 0. Install Darcs (http://wiki.darcs.net/DarcsWiki/Binaries, "Windows without Cygwin") 11 12 1. Add the darcs directory to the search path (see below) 13 14 2. Follow the steps in "Building from a tarball" 15 8 16 == Building from a tarball == 9 17 10 0. Install Python 2.5 (http://python.org/download/releases/2.5.4/)18 0. Get Python 2.4 (http://www.python.org/download/releases/2.4.6/) 11 19 12 20 1. Add the Python to the search path (rough translation from German Windows 2000): 13 Start -> Settings -> System control -> System -> Enhanced -> Environment variables -> System variables: add ";C:\Python25;C:\Python25\Scripts;" to the "Path" entry 14 15 2. Install win32api for Python 2.5 (http://sourceforge.net/project/showfiles.php?group_id=78018) 16 Note: Build 213 does not work on Windows 2000, Build 212 does. 17 18 3. Open the command line interpreter (command/cmd), cd to the tahoe directory and build it: 19 python setup.py build 20 21 == Building darcs trunk == 22 23 0. Install Python 2.5 (http://python.org/download/releases/2.5.4/) 24 25 1. Install Darcs (http://wiki.darcs.net/DarcsWiki/Binaries, "Windows without Cygwin") 26 27 2. Add the Python and Darcs to the search path (rough translation from German Windows 2000): 28 Start -> Settings -> System control -> System -> Enhanced -> Environment variables -> System variables: add ";C:\Python25;C:\Python25\Scripts;C:\darcs-2.2.1-win1" to the "Path" entry 21 Start -> Settings -> System control -> System -> Enhanced -> Environment variables -> System variables: add ";C:\Python25;C:\Python25\Scripts" to the "Path" entry 29 22 30 23 3. Install win32api for Python 2.5 (http://sourceforge.net/project/showfiles.php?group_id=78018) 31 24 Note: Build 213 does not work on Windows 2000, Build 212 does. 32 25 33 4. Install Setuptools (http://pypi.python.org/pypi/setuptools, Windows Installer for Python 2.5)34 35 5. Download darcsver 1.2.1 from36 http://pypi.python.org/pypi/darcsver/1.2.137 38 6. Download Twisted, setuptools_darcs and setuptools_trial from39 http://testgrid.allmydata.org:3567/uri/URI:DIR2-RO:snrfwfxatrci35zdgjnzxxx2ke:unarxv347edtku3xzmefy4mcdmfngxzeb72iyqcadbjzjpczjx5a/index.html40 41 26 7. Open the command line interpreter (cmd/command) 42 27 43 8. cd to your download directory 44 45 9. Run 46 easy_install Twisted-8.2.0-py2.5-win32.egg 47 48 10. Decompress setuptools_darcs and setuptools_trial, cd into each directory and run 49 python setup.py install 50 51 11. Get Tahoe from Darcs: 28 8. Get Tahoe from Darcs: 52 29 darcs get --lazy http://allmydata.org/source/tahoe/trunk-hashedformat tahoe 53 30 54 12. cd to tahoe and build Tahoe:31 9. cd to tahoe and build Tahoe: 55 32 python setup.py build 56 33 57 1 3. Optional: run testcases:34 10. Optional: run testcases: 58 35 python setup.py test 59 36