|
InstallingWebpyte
Installing Webpyte and dependencies
The steps to install Webpyte are: Have a Python environment
Install the dependencieseasy_install -UZ cherrypy # the web server easy_install -UZ "Paste >= 1.7.2" # displays pretty exceptions easy_install -UZ "Unipath >= 0.2.1" # object-oriented file manipulation # Turbomail 3.0 was best installed from SVN at the time of writing. # Go to the directory that contains reusable Python packages cd ~/.local/lib/python2.6/site-packages/ # Check out the package svn co http://python-turbomail.org/svn/trunk/turbomail/ turbomail # http://www.python-turbomail.org/wiki/TurboMailDownload The above packages are absolutely necessary for Webpyte to run. The following are only highly recommended (you can use something else instead), but some parts of Webpyte (especially the application modules) use them: easy_install -UZ "Genshi >= 0.5.1" # XML templating easy_install -UZ "Routes >=1.10.1" # URL mapping easy_install -UZ "SQLAlchemy >= 0.5" # ORM for database access easy_install -UZ "pexpect >= 2.4" # for the database backup package Install Webpyte itselfThere has been no official release yet, but you can download Webpyte from the Subversion repository. So: # Install a Subversion client sudo apt-get install subversion # Go to the directory that contains reusable Python packages cd ~/.local/lib/python2.6/site-packages/ # Issue the command to download the current version svn checkout http://webpyte.googlecode.com/svn/trunk/webpyte webpyte # This command should create a "webpyte" directory with the code in it. Next see ExampleApp. |
► Sign in to add a comment