Last change
on this file since 3665 was
489,
checked in by piv, 18 years ago
|
edit any number of items at the same time
|
File size:
1.3 KB
|
Rev | Line | |
---|
[489] | 1 | quintagroup.dummylocking Installation |
---|
| 2 | ========================== |
---|
| 3 | |
---|
| 4 | To install quintagroup.dummylocking into the global Python environment (or a workingenv), |
---|
| 5 | using a traditional Zope 2 instance, you can do this: |
---|
| 6 | |
---|
| 7 | * When you're reading this you have probably already run |
---|
| 8 | ``easy_install quintagroup.dummylocking``. Find out how to install setuptools |
---|
| 9 | (and EasyInstall) here: |
---|
| 10 | http://peak.telecommunity.com/DevCenter/EasyInstall |
---|
| 11 | |
---|
| 12 | * Create a file called ``quintagroup.dummylocking-overrides.zcml`` in the |
---|
| 13 | ``/path/to/instance/etc/package-includes`` directory. The file |
---|
| 14 | should only contain this:: |
---|
| 15 | |
---|
| 16 | <include package="quintagroup.dummylocking" /> |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | Alternatively, if you are using zc.buildout and the plone.recipe.zope2instance |
---|
| 20 | recipe to manage your project, you can do this: |
---|
| 21 | |
---|
| 22 | * Add ``quintagroup.dummylocking`` to the list of eggs to install, e.g.: |
---|
| 23 | |
---|
| 24 | [buildout] |
---|
| 25 | ... |
---|
| 26 | eggs = |
---|
| 27 | ... |
---|
| 28 | quintagroup.dummylocking |
---|
| 29 | |
---|
| 30 | * Tell the plone.recipe.zope2instance recipe to install a ZCML slug: |
---|
| 31 | |
---|
| 32 | [instance] |
---|
| 33 | recipe = plone.recipe.zope2instance |
---|
| 34 | ... |
---|
| 35 | zcml = |
---|
| 36 | quintagroup.dummylocking-overrides |
---|
| 37 | |
---|
| 38 | * Re-run buildout, e.g. with: |
---|
| 39 | |
---|
| 40 | $ ./bin/buildout |
---|
| 41 | |
---|
| 42 | You can skip the ZCML slug if you are going to explicitly include the package |
---|
| 43 | from another package's configure.zcml file. |
---|
Note: See
TracBrowser
for help on using the repository browser.