|
From: Kevin A. <ka...@us...> - 2006-08-06 23:54:55
|
Update of /cvsroot/pythoncard/PythonCard/docs/html In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20073/docs/html Modified Files: installation.html macosx_tiger_installation.html Log Message: added Mac OS X Tiger install instructions Index: macosx_tiger_installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/macosx_tiger_installation.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** macosx_tiger_installation.html 6 Apr 2006 11:00:25 -0000 1.2 --- macosx_tiger_installation.html 6 Aug 2006 23:54:51 -0000 1.3 *************** *** 5,23 **** <link rel="stylesheet" href="PythonCard.css" type="text/css"/> <meta name="author" content="Kevin Altis" /> ! <title>Installing PythonCard on Mac OS X (Panther)</title> </head> <body> <div id="banner"> ! <h1>How to Install PythonCard on Mac OS X (Panther)</h1> </div> <?php include "sidebar.php" ?> <div id="content"> <p><strong>The instructions below are for installing PythonCard on Mac OS ! 10.3 (Panther). If you are using Mac OS 10.2 (Jaguar), then please use ! <a href="macosx_jaguar_installation.html">these instructions</a> instead. </strong></p> <p>Installing PythonCard on your system requires the following steps:</p> <ol> ! <li>Download MacPython add-ons from MacPython site.</li> <li>Download wxPython from the wxPython.org site.</li> <li>Download PythonCard from the PythonCard site.</li> --- 5,24 ---- <link rel="stylesheet" href="PythonCard.css" type="text/css"/> <meta name="author" content="Kevin Altis" /> ! <title>Installing PythonCard on Mac OS X (Tiger)</title> </head> <body> <div id="banner"> ! <h1>How to Install PythonCard on Mac OS X (Tiger)</h1> </div> <?php include "sidebar.php" ?> <div id="content"> <p><strong>The instructions below are for installing PythonCard on Mac OS ! 10.4 (Tiger). If you are using Mac OS 10.3 (Panther), then please use ! <a href="macosx_panther_installation.html">these instructions</a> instead or ! <a href="macosx_jaguar_installation.html">these instructions</a> if you're using Mac OS 10.2 (Jaguar). </strong></p> <p>Installing PythonCard on your system requires the following steps:</p> <ol> ! <li>Download Python from the python.org site.</li> <li>Download wxPython from the wxPython.org site.</li> <li>Download PythonCard from the PythonCard site.</li> *************** *** 27,39 **** <li>Confirm the installation works</li> </ol> ! <h2>Downloading MacPython add-ons</h2> ! <p>If you're running Panther then you already have Python 2.3 installed on ! your system, but we want to get the MacPython add-ons to get the ! PackageManager and PythonLauncher.</p> ! <p>Click on this <a href="http://ftp.cwi.nl/jack/python/mac/MacPython-Panther-2.3-2.dmg">MacPython-Panther-2.3-2.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/wxPythonOSX-2.5.2.8-panther-Py2.3.dmg">wxPythonOSX-2.5.2.8-panther-Py2.3.dmg</a> link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> --- 28,39 ---- <li>Confirm the installation works</li> </ol> ! <h2>Downloading Python</h2> ! <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> *************** *** 43,80 **** link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> ! <h2>Installing MacPython add-ons</h2> ! <p>The MacPython add-ons arrive at your system as an installable disk image. ! All you have to do is double-click on the file you downloaded (it's called ! MacPython-Panther-2.3-2.dmg), then double-click the MacPython-Panther.pkg ! icon and follow the instructions in the installation wizard. The installer ! will create a MacPython-2.3 directory in your Applications folder.</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 wxPythonOSX-2.5.2.8-panther-Py2.3.dmg), then ! double-click the wxPythonOSX-panther.pkg icon and follow the instructions. ! wxPython will be installed into <span class="code">/Library/Python/2.3/</span>. Note that this is the same directory as <span class="code">/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/</span> since the two directories are connected by a symbolic link in the file system.</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 ! folder.</p> <h2>Installing PythonCard</h2> <p>The PythonCard-0.8.2.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already decompressed, then double-click the PythonCard-0.8.2.tar.gz file. ! You should now have a PythonCard-0.8 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"> ! [mymachine:~] bob% cd ~/Desktop/PythonCard-0.8<br /> ! [mymachine:~/Desktop/PythonCard-0.8] bob% sudo python setup.py install</p> ! <p>By default, the PythonCard framework will be installed into <span class="code">/Library/Python/2.3/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> - <p>To run GUI scripts on Mac OS X (i.e. wxPython and PythonCard scripts) from - the Terminal you must start them with pythonw rather than the plain python - interpreter.</p> <h3>Configuring PythonLauncher</h3> <p>The default install leaves .py and .pyw files associated with the Python --- 43,82 ---- link to begin the download. Again, most Mac OS X browsers will save the file to your desktop.</p> ! <h2>Installing Python</h2> ! <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 ! folder once you've opened the disk image.</p> <h2>Installing PythonCard</h2> <p>The PythonCard-0.8.2.tar.gz file you downloaded should automatically be decompressed by Stuffit; if the file isn't already decompressed, then double-click the PythonCard-0.8.2.tar.gz file. ! 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"> ! [mymachine:~] bob% cd ~/Desktop/PythonCard-0.8.2<br /> ! [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 Index: installation.html =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/docs/html/installation.html,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** installation.html 26 Jul 2004 15:35:31 -0000 1.17 --- installation.html 6 Aug 2006 23:54:51 -0000 1.18 *************** *** 15,19 **** platforms;</p> <ul> ! <li><a href="macosx_installation.html">Apple Mac OS X (Panther)</a> or <a href="macosx_jaguar_installation.html">Apple Mac OS X (Jaguar)</a></li> <li><a href="linux_installation.html">Linux</a></li> <li><a href="windows_installation.html">Windows</a></li> --- 15,21 ---- platforms;</p> <ul> ! <li><a href="macosx_tiger_installation.html">Apple Mac OS X (Tiger)</a> or ! <a href="macosx_panther_installation.html">Apple Mac OS X (Panther)</a> or ! <a href="macosx_jaguar_installation.html">Apple Mac OS X (Jaguar)</a></li> <li><a href="linux_installation.html">Linux</a></li> <li><a href="windows_installation.html">Windows</a></li> |