From: Kevin A. <ka...@us...> - 2007-07-29 02:31:49
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32192 Modified Files: macosx_tiger_installation.html windows_installation.html Log Message: updated Windows and Mac OS X (Tiger) installation instructions for Python 2.5.1 and wxPython 2.8.4.0 Index: macosx_tiger_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_tiger_installation.html,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** macosx_tiger_installation.html 7 Aug 2006 00:16:53 -0000 1.4 --- macosx_tiger_installation.html 29 Jul 2007 02:31:46 -0000 1.5 *************** *** 31,39 **** <p>If you're running Tiger then you already have Python 2.3.5 installed on your system, but we want a more up-to-date build of Python.</p> ! <p>Click on this <a href="http://www.python.org/ftp/python/2.4.3/Universal-MacPython-2.4.3.dmg">Universal-MacPython-2.4.3.dmg</a> link to begin the download. Most Mac OS X browsers will save the file to your desktop.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPython2.6-osx-unicode-2.6.3.3-universal10.4-py2.4.dmg">wxPython2.6-osx-unicode-2.6.3.3-universal10.4-py2.4.dmg</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> --- 31,39 ---- <p>If you're running Tiger then you already have Python 2.3.5 installed on your system, but we want a more up-to-date build of Python.</p> ! <p>Click on this <a href="http://www.python.org/ftp/python/2.5.1/python-2.5.1-macosx.dmg">python-2.5.1-macosx.dmg</a> link to begin the download. Most Mac OS X browsers will save the file to your desktop.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://internap.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-osx-unicode-2.8.4.0-universal10.4-py2.5.dmg">wxPython2.8-osx-unicode-2.8.4.0-universal10.4-py2.5.dmg</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> *************** *** 46,62 **** <p>Python arrives at your system as an installable disk image. All you have to do is double-click on the file you downloaded (it's called ! Universal-MacPython-2.4.3.dmg), then double-click the MacPython.mpkg icon and follow the instructions in the installation wizard. The installer will create ! a new directory <span class="code">/Library/Frameworks/Python.framework/Versions/2.4/</span> to contain the Python executables, documentation, tools, and standard ! libraries. It will also create a folder in your Applications folder called MacPython 2.4 which contains ! the IDLE editor, PythonLauncher, and a large number of demos.</p> <h2>Installing wxPython</h2> <p>wxPython also comes as an installable disk image. Just double-click on the ! file you downloaded (it's called wxPython2.6-osx-unicode-2.6.3.3-universal10.4-py2.4.dmg), then ! double-click the wxPython2.6-osx-unicode-universal10.4-py2.4.pkg icon and follow the instructions. ! wxPython will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/</span>. </p> ! You should also download the Docs, Demos, and Samples for wxPython. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPython2.6-osx-docs-demos-2.6.3.3-universal10.4-py2.4.dmg">wxPython2.6-osx-docs-demos-2.6.3.3-universal10.4-py2.4.dmg</a> ! link to begin the download. <p>I recommend creating a wxPython folder in your Applications folder and copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython --- 46,62 ---- <p>Python arrives at your system as an installable disk image. All you have to do is double-click on the file you downloaded (it's called ! python-2.5.1-macosx.dmg), then double-click the MacPython.mpkg icon and follow the instructions in the installation wizard. The installer will create ! a new directory <span class="code">/Library/Frameworks/Python.framework/Versions/2.5/</span> to contain the Python executables, documentation, tools, and standard ! libraries. It will also create a folder in your Applications folder called MacPython 2.5 which contains ! the IDLE editor, Python Launcher, and a large number of demos.</p> <h2>Installing wxPython</h2> <p>wxPython also comes as an installable disk image. Just double-click on the ! file you downloaded (it's called wxPython2.8-osx-unicode-2.8.4.0-universal10.4-py2.5.dmg), then ! double-click the wxPython2.8-osx-unicode-universal10.4-py2.5.pkg icon and follow the instructions. ! wxPython will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/</span>. </p> ! <p>You should also download the Docs, Demos, and Samples for wxPython. Click on this <a href="http://internap.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-osx-docs-demos-2.8.4.0-universal10.4-py2.5.dmg">wxPython2.8-osx-docs-demos-2.8.4.0-universal10.4-py2.5.dmg</a> ! link to begin the download.</p> <p>I recommend creating a wxPython folder in your Applications folder and copying the Apps, Docs, Samples, and README 1st.txt files to the wxPython *************** *** 68,72 **** You should now have a PythonCard-0.8.2 directory on your desktop. Open the Terminal application and do a cd to that directory and then run the ! setup.py script using the 2.3 Python you just installed. The sudo command will prompt you for your password.</p> <p class="code"> --- 68,72 ---- You should now have a PythonCard-0.8.2 directory on your desktop. Open the Terminal application and do a cd to that directory and then run the ! setup.py script using the 2.5.1 Python you just installed. The sudo command will prompt you for your password.</p> <p class="code"> *************** *** 74,97 **** [mymachine:~/Desktop/PythonCard-0.8.2] bob% sudo python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PythonCard/</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and samples.</p> <h2>Confirming Installation</h2> ! <h3>Configuring PythonLauncher</h3> <p>The default install leaves .py and .pyw files associated with the Python ! IDE rather than PythonLauncher which is the app used to run Python scripts ! from the Finder. PythonLauncher is located in your Applications/MacPython 2.4 folder</p> <p>If you select a .py file you can choose Get Info from the File menu and ! then change the files to open with PythonLauncher instead of the IDE if you want to be able to double-click a file and have it run. Repeat the process for .pyw files. Alternatively, you can hold down the control key and when you ! click on a .py file then you can select PythonLauncher from the Open With menu item.</p> ! <p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/pythonlauncher.png" alt="Mac Preferences Dialog" /><br /> ! Figure 1. PythonLauncher Preferences</p> <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/PythonCard/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the --- 74,97 ---- [mymachine:~/Desktop/PythonCard-0.8.2] bob% sudo python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into <span class="code">/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/</span>. You'll probably want to make an alias to this directory to keep on your desktop or home folder to make it easier to get to the PythonCard tools and samples.</p> <h2>Confirming Installation</h2> ! <h3>Configuring Python Launcher</h3> <p>The default install leaves .py and .pyw files associated with the Python ! IDE rather than Python Launcher which is the app used to run Python scripts ! from the Finder. Python Launcher is located in your Applications/MacPython 2.5 folder</p> <p>If you select a .py file you can choose Get Info from the File menu and ! then change the files to open with Python Launcher instead of the IDE if you want to be able to double-click a file and have it run. Repeat the process for .pyw files. Alternatively, you can hold down the control key and when you ! click on a .py file then you can select Python Launcher from the Open With menu item.</p> ! <p class="imageCaption"><img src="http://pythoncard.sourceforge.net/images/pythonlauncher2.png" alt="Mac Preferences Dialog" /><br /> ! Figure 1. Python Launcher Preferences</p> <h3>Acid Test</h3> <p>OK, now comes the acid test. Open the folder called "minimal" in ! <span class="code">/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PythonCard/samples</span>. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the Index: windows_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/windows_installation.html,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** windows_installation.html 6 Apr 2006 11:00:26 -0000 1.18 --- windows_installation.html 29 Jul 2007 02:31:46 -0000 1.19 *************** *** 24,39 **** </ol> <h2>Downloading Python</h2> ! <p>Python 2.4.3 is available from a couple of sources.</p> <ul> ! <li>The main <a href="http://www.python.org/2.4.3/">Python 2.4.3</a> page.</li> ! <li>The <a href="http://www.activestate.com/Products/ActivePython/more_information.plex">ActivePython</a> distribution</li> </ul> <p>For this guide, we'll be installing from the main Python site. Click on ! this <a href="http://www.python.org/ftp/python/2.4.3/Python-2.4.3.exe">Python-2.4.3.exe</a> link to begin the download. Tell your browser where you want the file stored and the download proceeds. Note where on your system the file is saved by your browser.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://prdownloads.sourceforge.net/wxpython/wxPython2.6-win32-ansi-2.6.3.0-py24.exe">win32-ansi 2.6.3 for Python 2.4</a> link to begin the download. Tell your browser where you want the file stored and the download proceeds. Note where on your system the file is saved by your --- 24,39 ---- </ol> <h2>Downloading Python</h2> ! <p>Python 2.5.1 is available from a couple of sources.</p> <ul> ! <li>The <a href="http://www.python.org/download/">Python downloads</a> page.</li> ! <li>The <a href="http://www.activestate.com/Products/activepython/">ActivePython</a> distribution</li> </ul> <p>For this guide, we'll be installing from the main Python site. Click on ! this <a href="http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi">Python-2.5.1.msi</a> link to begin the download. Tell your browser where you want the file stored and the download proceeds. Note where on your system the file is saved by your browser.</p> <h2>Downloading wxPython</h2> ! <p>PythonCard relies on the wxPython package. Click on this <a href="http://internap.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-win32-unicode-2.8.4.0-py25.exe">wxPython2.8-win32-unicode-2.8.4.0-py25.exe</a> link to begin the download. Tell your browser where you want the file stored and the download proceeds. Note where on your system the file is saved by your *************** *** 48,65 **** <p>Python arrives at your system as an installable application. All you have to do is double-click on the file you downloaded (it's called ! Python-2.4.3.exe) and follow the instructions in the installation wizard. By ! default, the installer will create a new directory C:\Python23 to contain the Python executables, documentation, tools, IDLE editor, and standard ! libraries. We'll refer to that directory as just <strong>Python23</strong> for the remainder of the instructions.</p> <h2>Installing wxPython</h2> <p>wxPython also comes as an automatic installer. Just double-click on the ! file you downloaded (it's called wxPython2.6-win32-ansi-2.6.3.0-py24.exe) and follow the instructions. By default, wxPython will be installed into ! Python24\Lib\site-packages.</p> <h2>Installing PythonCard</h2> <p>PythonCard also comes as an automatic installer. Just double-click on the file you downloaded and follow the instructions. By default, the PythonCard ! framework will be installed into Python23\Lib\site-packages.</p> <p>As part of the automated install some shortcuts and a program group on your start menu are created. If you have installed Python as a ordinary user (Who --- 48,67 ---- <p>Python arrives at your system as an installable application. All you have to do is double-click on the file you downloaded (it's called ! python-2.5.1.msi) and follow the instructions in the installation wizard. By ! default, the installer will create a new directory C:\Python25 to contain the Python executables, documentation, tools, IDLE editor, and standard ! libraries. We'll refer to that directory as just <strong>Python25</strong> for the remainder of the instructions.</p> <h2>Installing wxPython</h2> <p>wxPython also comes as an automatic installer. Just double-click on the ! file you downloaded (it's called wxPython2.8-win32-unicode-2.8.4.0-py25.exe) and follow the instructions. By default, wxPython will be installed into ! Python25\Lib\site-packages.</p> ! <p>You should also download the Docs, Demos, and Samples for wxPython. Click on this <a href="http://internap.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-win32-docs-demos-2.8.4.0.exe">wxPython2.8-win32-docs-demos-2.8.4.0.exe</a> ! link to begin the download.</p> <h2>Installing PythonCard</h2> <p>PythonCard also comes as an automatic installer. Just double-click on the file you downloaded and follow the instructions. By default, the PythonCard ! framework will be installed into Python25\Lib\site-packages.</p> <p>As part of the automated install some shortcuts and a program group on your start menu are created. If you have installed Python as a ordinary user (Who *************** *** 72,76 **** <h2>Confirming Installation</h2> <p>OK, now comes the acid test. Open the folder called "minimal" in ! Python23\Lib\site-packages\PythonCard\samples. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one shown in Figure 1 --- 74,78 ---- <h2>Confirming Installation</h2> <p>OK, now comes the acid test. Open the folder called "minimal" in ! Python25\Lib\site-packages\PythonCard\samples. Find the icon labeled minimal.py and double-click it. In a few moments (after an operating system console window has appeared), a small window like the one shown in Figure 1 |