Introduction
This is a ZopeSkel template package for creating a skeleton Plone add-on package. The skeleton package installs a plone.app.browserlayer browserlayer and associated css and js resources.
Use this package when you want to build an add-on that adds css or js functionality without a theme. The advantage of this is that you may use the functionality with different themes.
This is a development tool. You should be familiar with Plone and buildout to use it.
Installation
Add these lines into buildout:
[buildout]
parts =
zopeskel
[zopeskel]
recipe = zc.recipe.egg
eggs =
ZopeSkel
Paste
PasteDeploy
PasteScript
zopeskel.browserlayer
${buildout:eggs}
And run the buildout
Usage
Creating a dexterity content package, typically done in your buildout’s src directory:
../bin/zopeskel browserlayer
Notes
Egg Directories
In order to support local commands, ZopeSkel/Paster will create Paste, PasteDeploy and PasteScript eggs inside your product. These are only needed for development. You can and should remove them from your add-on distribution.
Errors
If you hit and error like this:
pkg_resources.DistributionNotFound: plone.app.relationfield: Not Found for: my.product (did you run python setup.py develop?)
when attempting to run paster addcontent, then you need to ensure that Paster knows about all the relevant eggs from your buildout.
Add ${instance:eggs} to your paster section in your buildout, thusly:
[zopeskel]
recipe = zc.recipe.egg
eggs =
...
${instance:eggs}
entry-points = paster=paste.script.command:run
where instance is the name of your plone.recipe.zope2instance section. Re-run the buildout and the issue should be resolved.
Changelog
1.0 ~ 2011-10-24
Initial release
Metadata
Release files for zopeskel.browserlayer 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| zopeskel.browserlayer-1.0.zip | 32.4 kB | Details |
Release files / zopeskel.browserlayer-1.0.zip
| Download URL | zopeskel.browserlayer-1.0.zip |
|---|---|
| Size | 32.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca57d471d5be94536b7b75aee70c396b2a095c4a76c8d956cb5cdb035ffed1db
|
|
BLAKE2b-256 checksum How to use checksums |
cc0bab8f583683b50cb9c7880fedd5f6b4044a8d9e814c03640ef0b632e8a6a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |