Difference between revisions of "CcPublisher Prerequisites"
Line 1: | Line 1: | ||
[[Category:CcPublisher]] | [[Category:CcPublisher]] | ||
[[Category:Developer]] | [[Category:Developer]] | ||
− | + | ||
− | This page describes setting up a sandbox for running ccPublisher 2 and P6 from | + | This page describes setting up a sandbox for running ccPublisher 2 and P6 from Subversion. |
== Setting Up a ccPublisher Sandbox == | == Setting Up a ccPublisher Sandbox == | ||
Line 34: | Line 34: | ||
$ svn co svn://svn.berlios.de/cctools/publisher/trunk ccpublisher | $ svn co svn://svn.berlios.de/cctools/publisher/trunk ccpublisher | ||
− | This will check out the entire required source tree, including dependencies from the Zope 3 project, into the ccpublisher directory. | + | This will check out the entire required source tree, including dependencies from the Zope 3 project, into the <code>ccpublisher</code> directory. |
=== Running === | === Running === | ||
Line 40: | Line 40: | ||
Once you have the dependencies listed above installed, run <code>main.py</code> to start ccPublisher: | Once you have the dependencies listed above installed, run <code>main.py</code> to start ccPublisher: | ||
− | $ python | + | $ python ccp.py |
+ | |||
+ | == Developing ccPublisher == | ||
− | + | Depending on your platform, your development model may vary slightly. See the appropriate platform-specific page: | |
− | + | * [[Developing ccPublisher on Linux]] | |
+ | * [[Developing ccPublisher on Windows]] | ||
+ | * [[Developing ccPublisher on Mac OS X]] | ||
== Distributing ccPublisher == | == Distributing ccPublisher == | ||
See [[CcPublisher Release Procedure]] for details on creating packages of ccPublisher (or other P6 applications). | See [[CcPublisher Release Procedure]] for details on creating packages of ccPublisher (or other P6 applications). |
Revision as of 13:33, 21 June 2006
This page describes setting up a sandbox for running ccPublisher 2 and P6 from Subversion.
Contents
Setting Up a ccPublisher Sandbox
A sandbox is a checkout of the ccPublisher sourcecode from Subversion. Setting up a sandbox lets you work with the most recent features, as well as work on the source code yourself. For background on how the sourcecode is organized see ccPublisher 2 Architecture.
As of 8 February 2006, a C compiler is no longer required to build ccPublisher 2 or P6.
Prerequisites
We try to maintain pure Python within our Subversion repository (either with a vendor tag or svn:external). However, there are a handful of dependencies which are better built on individual systems or installed from binaries.
- Python 2.4
- Windows: http://python.org/download/
- Mac OS X: http://undefined.org/python/
- Linux: http://python.org/download/ (usually installed by default, or available in your distributinos official package repository)
- pywin32 Python Extensions for the Win32 API (Windows only)
- wxPython Unicode build required to properly support non-ANSI characters in any input field. So really, just use the Unicode build.
- Windows
- Mac OS X (10.3 and later)
- Linux: use a distro-specific package or see the wxPython download page for other options
- elementtree
- Note: This is a change as of 8 February 2006 (see why ElementTree for details on the switch from libxml2)
- http://effbot.org/downloads/#elementtree
Getting Started
Before you begin building you will need to check out the source code. ccPublisher uses Subversion for source control. To check out the most recent copy of the code, execute the following command:
$ svn co svn://svn.berlios.de/cctools/publisher/trunk ccpublisher
This will check out the entire required source tree, including dependencies from the Zope 3 project, into the ccpublisher
directory.
Running
Once you have the dependencies listed above installed, run main.py
to start ccPublisher:
$ python ccp.py
Developing ccPublisher
Depending on your platform, your development model may vary slightly. See the appropriate platform-specific page:
- Developing ccPublisher on Linux
- Developing ccPublisher on Windows
- Developing ccPublisher on Mac OS X
Distributing ccPublisher
See CcPublisher Release Procedure for details on creating packages of ccPublisher (or other P6 applications).