Changes between Version 272 and Version 273 of TracOnWindows
- Timestamp:
- Mar 24, 2009, 5:59:05 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracOnWindows
v272 v273 20 20 Download and run the Python MSI installer: 21 21 [http://www.python.org/ftp/python/2.4.4/python-2.4.4.msi python-2.4.4.msi] 22 23 22 24 23 === Python 2.5 === … … 35 34 That being said, it's perfectly possible to run Trac for Windows/x64 (XP or Vista). 36 35 36 === Python 2.6 === 37 38 [http://python.org/ftp/python/2.6.1/python-2.6.1.msi Python-2.6.1.msi] 39 37 40 == Method 1: Using Installers == #using-installers 38 41 39 42 You need to download and install the following packages, pick the link appropriate to your Python version: 40 43 || '''Mandatory Packages''' || '''Installers''' || 41 || '''SetupTools''' || setuptools-0.6c7.win32-py2.''X''.exe ([http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c7.win32-py2.5.exe#md5=395a81d709766f3a0d6084964cb98b5a 2.5], [http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c7.win32-py2.4.exe#md5=8109dbab4d86a24e8b5ef1881c9fcbb1 2.4], [http://pypi.python.org/packages/2.3/s/setuptools/setuptools-0.6c7.win32-py2.3.exe#md5=6bd6f02383edc580a311a070e8d360f5 2.3]) (check [http://pypi.python.org/pypi/setuptools here] for latest) ||44 || '''SetupTools''' || setuptools-0.6c7.win32-py2.''X''.exe ([http://pypi.python.org/packages/2.5/s/setuptools/setuptools-0.6c7.win32-py2.5.exe#md5=395a81d709766f3a0d6084964cb98b5a 2.5], [http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c7.win32-py2.4.exe#md5=8109dbab4d86a24e8b5ef1881c9fcbb1 2.4], [http://pypi.python.org/packages/2.3/s/setuptools/setuptools-0.6c7.win32-py2.3.exe#md5=6bd6f02383edc580a311a070e8d360f5 2.3]) (check [http://pypi.python.org/pypi/setuptools here] for latest) [[BR]] As yet there's no installer for Python 2.6. Use the [TracOnWindows#Setuptools manual method] below. || 42 45 43 46 || '''[genshi:milestone:0.5 Genshi 0.5]''' || Genshi-0.5.win32-py2.''X''.exe ([http://ftp.edgewall.com/pub/genshi/Genshi-0.5.win32-py2.5.exe 2.5], [http://ftp.edgewall.com/pub/genshi/Genshi-0.5.win32-py2.4.exe 2.4], [http://ftp.edgewall.com/pub/genshi/Genshi-0.5.win32-py2.3.exe 2.3]) [[BR]] Genshi-0.5.1.win32-py2.''X''.exe ([http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.win32-py2.5.exe 2.5], [http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.win32-py2.4.exe 2.4], [http://ftp.edgewall.com/pub/genshi/Genshi-0.5.1.win32-py2.3.exe 2.3]) (check [http://genshi.edgewall.org/wiki/Download here] for latest) || … … 47 50 [[BR]] 48 51 49 50 52 || ''Optional Packages'' || ''Installers'' || ''^(see notes below)^'' || 51 53 || ''PySqlite'' || pysqlite-2.4.0.win32-py2.''X''.exe ([http://initd.org/pub/software/pysqlite/releases/2.4/2.4.0/pysqlite-2.4.0.win32-py2.5.exe 2.5], [http://initd.org/pub/software/pysqlite/releases/2.4/2.4.0/pysqlite-2.4.0.win32-py2.4.exe 2.4], [http://initd.org/pub/software/pysqlite/releases/2.4/2.4.0/pysqlite-2.4.0.win32-py2.3.exe 2.3]) || ^(1)^ || … … 71 73 72 74 This method is about using `easy_install` (from Setuptools) at the command line. 73 Ideally, once everything will have settle down, this will be a matter of doing `easy_install Trac` 74 Don't try that yet, though, rather go through the following steps. 75 76 === Setuptools === 77 78 [http://peak.telecommunity.com/DevCenter/setuptools Setuptools] makes installation of Python software easier by automatically downloading and installing Python packages from the internet. It is also used to find and load [wiki:TracPlugins Trac's plugins]. 79 80 Download the setuptools installer: [http://peak.telecommunity.com/dist/ez_setup.py ez_setup.py] 81 82 When the download completes double-click the "ez_setup.py" file from your download folder to install setuptools. 83 84 === The command line === 75 Ideally, once everything will have settle down, this will be a matter of doing `easy_install Trac`. 76 ~~Don't try that yet, though, rather go through the following steps.~~ Seems to be working for Trac and Genshi... 77 78 === Windows command line === 85 79 86 80 You'll need to open a Windows command line to install some of the necessary software: … … 88 82 1. Click "Start" > "Run..." (or press Win+R) 89 83 1. Type "cmd" and click "Ok" - this opens the Windows command console 90 1. Type "cd c:\Python24\Scripts" 91 92 You should now be in the folder "C:\Python24\Scripts" where you can run the "easy_install" command to install the required software. 93 84 1. Type "cd c:\Python26" (''substitute your python folder'') 85 86 ''Tip: On Vista, hold shift key, right click on desired folder, and choose 'Open Command Window Here'. You can do the same in Windows XP with !PowerToys installed.'' 87 88 === Setuptools === 89 90 [http://peak.telecommunity.com/DevCenter/setuptools Setuptools] makes installation of Python software easier by automatically downloading and installing Python packages from the internet. It is also used to find and load [wiki:TracPlugins Trac's plugins]. 91 92 Download the setuptools installer: [http://peak.telecommunity.com/dist/ez_setup.py ez_setup.py] 93 94 When the download completes double-click the "ez_setup.py" file from your download folder to install setuptools. 95 96 ''That didn't work for me. I found this method on [http://stackoverflow.com/questions/309412/how-to-setup-setuptools-for-python-2-6-on-windows StackOverflow]:'' 97 * Download [http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c9.tar.gz#md5=3864c01d9c719c8924c455714492295e setuptools-0.6c9.tar.gz] and unzip to a folder outside your Python install. 98 * Download [http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg#md5=ca37b1ff16fa2ede6e19383e7b59245a setuptools-0.6c9-py2.6.egg] to the same folder 99 * execute the following command at a command prompt in the same folder. 100 {{{ 101 python ez_setup.py setuptools-0.6c9-py2.6.egg 102 }}} 103 104 Now change to the new scripts directory in your command prompt (''substitute your python folder''): 105 {{{ 106 cd \Python26\scripts 107 }}} 108 You should now be in the folder "C:\Python26\Scripts" where you can run the "easy_install" command to install the remaining software. 109 110 At this point you should be able to type 111 {{{ 112 easy_install Trac 113 }}} 114 to install both the latest Trac and Genshi releases. 94 115 95 116 === Installing Genshi === … … 102 123 103 124 === Install PySQLite === 125 126 ''Obsolete: the Trac install includes SQLite'' 104 127 105 128 Install the [http://pysqlite.org PySqlite] database driver: