James Gardner: Home > Work > Code > SiteTool > 0.3.0 > Installation

SiteTool v0.3.0 documentation

InstallationΒΆ

This guide explains how to install the SiteTool package and all its dependencies on Ubuntu Hardy 8.04.

$ sudo apt-get install python-mysql python-utidylib mercurial rsync
$ wget pylonsbook.com/virtualenv.py
$ python virtualenv.py env
New python executable in env/bin/python
Installing setuptools...........................done.
$ env/bin/easy_install sphinx
Searching for sphinx
...
Finished processing dependencies for sphinx
$ hg clone https://mercuriate.3aims.com/project/SiteTool
destination directory: SiteTool
requesting all changes
adding changesets
adding manifests
adding file changes
added 2 changesets with 22 changes to 20 files
20 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ cd SiteTool/trunk
$ ../../env/bin/python setup.py develop

You can then run the tests:

$ cd test
$ python doc.py
$

If the tests are successful you will see no output but the example_dir directory will have been created and contain lots of files. You’ll need to remove this directory before running the tests again.

$ rm -r example_dir
James Gardner: Home > Work > Code > SiteTool > 0.3.0 > Installation