SVN: r25685 - trunk/quixote/doc
David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Mon, 6 Dec 2004 19:01:06 -0500
| Newsgroups | gmane.comp.web.quixote.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dbinger Date: 2004-11-30 14:52:31 -0500 (Tue, 30 Nov 2004) New Revision: 25685 Modified: trunk/quixote/doc/INSTALL.txt Log: Revise INSTALL.txt. Modified: trunk/quixote/doc/INSTALL.txt =================================================================== --- trunk/quixote/doc/INSTALL.txt 2004-11-30 19:51:25 UTC (rev 25684) +++ trunk/quixote/doc/INSTALL.txt 2004-11-30 19:52:31 UTC (rev 25685) @@ -1,53 +1,32 @@ Installing Quixote ================== -Best-case scenario ------------------- +Quixote requires Python 2.3 or later. -If you are using Python 2.2 or later, and have never installed Quixote -with your current version of Python, you're in luck. Just run +If you have a previously installed quixote, we strongly recommend that +you remove it before installing a new one. +First, find out where your old Quixote installation is: - python setup.py install - -and you're done. Proceed to the demo documentation to learn how to get -Quixote working. - -If you're using an older Python, or if you're upgrading from an older -Quixote version, read on. - - -Upgrading from an older Quixote version ---------------------------------------- - -We strongly recommend that you remove any old Quixote version before -installing a new one. First, find out where your old Quixote -installation is: - python -c "import os, quixote; print os.path.dirname(quixote.__file__)" and then remove away the reported directory. (If the import fails, then you don't have an existing Quixote installation.) -Then proceed as above: +Now install the new version by running (in the distribution directory), python setup.py install +and you're done. -Using Quixote with Python 2.0 or 2.1 ------------------------------------- +Quick start +=========== -If you are using Python 2.0 or 2.1 then you need to install the -``compiler`` package from the Python source distribution. The -``compiler`` package is for parsing Python source code and generating -Python bytecode, and the PTL compiler is built on top of it. With -Python 2.0 and 2.1, this package was included in Python's source -distribution, but not installed as part of the standard library. +In a terminal window, run server/simple_server.py. +In a browser, open http://localhost:8080 -Assuming your Python source distribution is in ``/tmp/Python-2.1.2``:: - cd /tmp/Python-2.1.2/Tools/compiler - python setup.py install +Upgrading a Quixote 1 application to Quixote 2. +=============================================== -(Obviously, you'll have to adjust this to reflect your Python version -and where you kept the source distribution after installing Python.) +See upgrading.txt for details.