Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Plone 3.3 Site Administration

You're reading from   Plone 3.3 Site Administration Manage your site like a Plone professional

Arrow left icon
Product type Paperback
Published in Jul 2010
Publisher Packt
ISBN-13 9781847197047
Length 240 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Alex Clark Alex Clark
Author Profile Icon Alex Clark
Alex Clark
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Plone 3.3 Site Administration
Credits
Foreword
About the Author
About the Reviewer
Preface
1. Background 2. Site Basics FREE CHAPTER 3. Appearance 4. Administration 5. Deployment and Maintenance 6. Optimization 7. Security 8. The Future Index

How to install Buildout—a tool for building software


First, let us have a look at some background on Buildout.

You do not have to use easy_install or PIP to install Buildout as we are about to do. Doing so will cause Buildout to be installed on your system Python's site-packages directory; the choice is yours.

The Zope community provides a bootstrap file for creating isolated Buildout environments outside site-packages: http://svn.zope.org/repos/main/zc.buildout/trunk/bootstrap/bootstrap.py.

If you download and execute this file, it will create a buildout in the current working directory.

We will use that method almost exclusively later, but for now, let us install Buildout globally (that is in the system Python's site-packages directory).

Also, let us try using PIP instead of easy_install this time (since we have just installed PIP).

Installing Buildout on Mac OS X

To install Buildout using PIP, open Finder | Applications | Utilities | Terminal and type:

$ sudo pip install zc.buildout

Tip

Namespace packages

Note that the package name of Buildout is zc.buildout, which indicates it is a "namespace package". To read more about this topic, visit: http://docs.python.org/tutorial/modules.html#packages.

You should see:

If you are prompted for a password, type your Mac OS X account password.

To verify that Buildout works, type:

$ buildout

Assuming you are not in a directory with a buildout.cfg file, you should see:

We have just finished demonstrating how to install and test Buildout on Mac OS X.

Installing Buildout on Windows 7

To install Buildout, select Start | All Programs | Accessories | Command Prompt and type:

$ pip install zc.buildout

You should see:

To verify that Buildout works, type:

$ buildout

We have just finished demonstrating how to install and test Buildout on Windows.

Installing Buildout on Ubuntu Linux

To install Buildout, open Applications | Accessories | Terminal and type:

$ sudo pip install zc.buildout

You should see:

To verify that Buildout works, type:

$ buildout

You should see:

We have just finished demonstrating how to install and test Buildout on Ubuntu Linux.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image