Skip to main content

Plock is a Plone Installer for the Pip-loving Crowd

Project description

plock

Plock is a Plone Installer for the Pip-loving Crowd

Installation

Installing and running Plone with Plock looks like this:

$ pip install plock
$ bin/install-plone
$ bin/plone fg

Configuration

Plone uses Buildout to manage its installation and configuration. Plock creates a buildout.cfg file for you that (initially) looks like this:

[buildout]
extends = https://raw.github.com/pythonpackages/buildout-plone/master/latest

Add-ons

To list available add-ons:

$ bin/install-plone --list-addons

To install add-ons, add the desired Python package name(s) to the command line e.g.:

$ bin/install-plone --install-addons Products.PloneFormGen

Restart Plone and install the add-on(s) in Plone via Site Setup -> Add-ons. After you install add-ons with Plock your buildout.cfg file will look like this:

[buildout]
extends = https://raw.github.com/pythonpackages/buildout-plone/master/latest

[plone]
eggs =
    ${base:packages}
    ${version:packages}
    Products.PloneFormGen

Why

Why bother building Plock on top of Buildout? Plock is a work around for pip install Plone which works but requires a lengthy requirements.txt, and lacks additional features provided by Buildout that are needed to use pip install Plone effectively.

Pip

Why bother supporting pip? To advance the state of Plone such that Buildout can be used, but not required.

Buildout

Why make Buildout optional? To market Plone to Python Programmers who are generally more familiar with pip than Buildout.

Changelog

0.0.6 (2013-07-24)

  • Bug fixes:
    • Make sure addons list is sorted.

0.0.5 (2013-07-24)

  • New features:
    • Added –raw, for use with –list-addons e.g. bin/install-plone –list–addons –raw

    • Added –preserve for use with –install-addons e.g. bin/install-plone –install-addons Products.PloneFormGen –preserve

  • Bug fixes:
    • bin/install-plone with –install-addons PACKAGE(S) can now be run the first time to install both Plone and add-ons.

    • bin/install-plone –install-addons PACKAGE(S) saves a copy of buildout.cfg and reverts changes if a Buildout run fails.

0.0.4 (2013-07-23)

  • Provide updated add-on installation instructions

  • Install add-ons with bin/install-plone –install-addons PACKAGE(S)

0.0.3 (2013-07-22)

  • List add-ons with bin/install-plone –list-addons

0.0.2 (2013-07-19)

  • Provide add-on installation instructions

  • Write local buildout.cfg instead of relying on -c remote_cfg.cfg

0.0.1 (2013-07-15)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plock-0.0.6.zip (11.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page