Jump to content

CcPublisher Prerequisites: Difference between revisions

From CC Public Wiki
No edit summary
No edit summary
Line 2: Line 2:
[[Category:Developer]]
[[Category:Developer]]


This page describes setting up a sandbox for running ccPublisher 2 and P6 from Subversion.
This page describes the prerequisites needed to develop ccPublisher.  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.
 
== 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'''
* '''Python 2.4'''
Line 27: Line 17:
** ''Note:'' This is a change as of 8 February 2006 (see [[why ElementTree]] for details on the switch from libxml2)
** ''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
** http://effbot.org/downloads/#elementtree
=== Getting Started ===
Before you begin building you will need to check out the source code.  ccPublisher uses [http://subversion.tigris.org 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 <code>ccpublisher</code> directory.
=== Running ===
Once you have the dependencies listed above installed, run <code>main.py</code> to start ccPublisher:
  $ python ccp.py


== Developing ccPublisher ==
== Developing ccPublisher ==
Line 46: Line 22:
Depending on your platform, your development model may vary slightly.  See the appropriate platform-specific page:
Depending on your platform, your development model may vary slightly.  See the appropriate platform-specific page:


* [[Developing ccPublisher with Command Line Tools]]
* [[Developing ccPublisher with Eclipse]]
* [[Developing ccPublisher with Eclipse]]
* [[Developing ccPublisher with Wing]]
* [[Developing ccPublisher with Wing]]
== Distributing ccPublisher ==
See [[CcPublisher Release Procedure]] for details on creating packages of ccPublisher (or other P6 applications).

Revision as of 14:10, 29 June 2006


This page describes the prerequisites needed to develop ccPublisher. 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.

Developing ccPublisher

Depending on your platform, your development model may vary slightly. See the appropriate platform-specific page: