Venus has been tested on Linux, and Mac OSX, and Windows.
You'll need at least Python 2.2 installed on your system, we recommend Python 2.4 though as there may be bugs with the earlier libraries.
Everything Pythonesque Planet needs to provide basic operation should be included in the distribution. Some optional features may require additional libraries, for example:
These instructions apply to any platform. Check the instructions below for more specific instructions for your platform.
If you are reading this online, you will need to
download and extract the files into a folder somewhere.
You can place this wherever you like,
~/venus are good
choices, but so's anywhere else you prefer.
This is very important: from within that directory, type the following command:
This should take anywhere from a one to ten seconds to execute. No network connection is required, and the script cleans up after itself. If the script completes with an "OK", you are good to go. Otherwise stopping here and inquiring on the mailing list is a good idea as it can save you lots of frustration down the road.
Make a copy of one of the
ini the files in the
and put it wherever you like; I like to use the Planet's name (so
~/planet/debian), but it's really up to you.
config.ini file in this directory to taste,
it's pretty well documented so you shouldn't have any problems here. Pay
particular attention to the
output_dir option, which should be
readable by your web server. If the directory you specify in your
cache_dir exists; make sure that it is empty.
python planet.py pathto/config.ini
You'll want to add this to cron, make sure you run it from the right directory.
Tell us about it! We'd love to link to you on planetplanet.org :-)
Build your own themes, templates, or filters! And share!
The Fink Project packages various open source software for MacOS. This makes it a little easier to get started with projects like Planet Venus.
Note: in the following, we recommend explicitly
python2.4. As of this writing, Fink is starting to
python2.5 but the XML libraries, for example, are
not yet ported to the newer python so Venus will be less featureful.
Install the XCode development tools from your Mac OS X install disks
Download and install Fink
Tell fink to install the Planet Venus prerequisites:
fink install python24 celementtree-py24 bzr-py24 libxslt-py24
Download and extract the Venus files into a folder somewhere
Run the tests:
This will warn you that the RDF library is missing, but that's OK.
Continue with the general steps above, starting with Step 3. You
may want to explicitly specify
Before starting, issue the following command:
sudo apt-get install bzr python2.4-librdf
htmltmpl templates (and Django too, since it currently piggybacks on the htmltmpl implementation) on Windows require the pywin32 module.
If you are running Python 2.2, you may also need to install pyxml. If the following runs without error, you do not have the problem.
python -c "__import__('xml.dom.minidom').dom.minidom.parseString('<entry xml:lang=\"en\"/>')"
Installation of pyxml varies by platform. For Ubuntu Linux (Dapper Drake), issue the following command:
sudo apt-get install python2.2-xml