[Zope] Re: CMF -1-5-0

Tres Seaver tseaver at zope.com
Fri Mar 11 16:06:58 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Hassalevris wrote:
| Michael Haubenwallner wrote:
|
|> David Hassalevris wrote:
|>
|>> Hi list,
|>>
|>> I downloaded cmf-1-5.0.zip and installed it into Zope 2.75b1
|>> Zope_Instance/Products directory.  Afer rebooting I was surprised to
|>> see it wasn't listed as a Product so I look in Products\CMF-1.50 and
|>> there is no __init__.py.
|>>
|>
|> Hi David,
|> it is not obvious for windows users not knowing unix commands.
|>
|> INSTALL.txt says:
|> > Link (or copy/move) the CMF packages into
|> > $INSTANCE_HOME/Products (or into $SOFTWARE_HOME/lib/python/Products).
|> > ...
|> > Since linking doesn't apply on Windows, you will need
|> > to cut or copy the files from the place where you unpacked
|> > them to the 'Products' directory of your Zope.
|>
|> You are supposed to copy the moduls contained in the CMF-1-5.0 folder
|> into the Zope_Instance/Products directory.
|>
|> Michael
|>
| Hi Michael,
| Thanks for the response.  I wasn't very clear:  I did install CMF-1-5.0
| in the Zope_Instance/Products directory.  I've installed lots of
| products!  Its just that CMF-1-5.0 has no __init__.py in its base
| directory - and therefore its not being picked up by Zope as a Product.
|
| *still confused*
| .
| FWIW I also unzipped other CMF "tars"  and they too did not have this.

CMF is not a single product, but a suite of related productx.  The
INSTALL.txt says:

~  Link (or copy/move) the CMF packages into $INSTANCE_HOME/Products

It then provides examples of doing the linking on a windows box:

~        $ cd /var/zope/Products  # /var/zope is INSTANCE_HOME
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFCore .
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFDefault .
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFTopic .
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFActionIcons .
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFCalendar .
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFSetup .
~        $ ln -s /usr/local/zope/CMF-1.5.0/CMFUid .
~        $ ln -s /usr/local/zope/CMF-1.5.0/DCWorkflow .

*Those* are the "products" of which CMF is made up.

The top-level directory, CMF-1.5.0, is not a package (hence it has no
__init__.py) or a product;  it is just the container for the products.


Tres.
- --
===============================================================
Tres Seaver                                tseaver at zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCMghyGqWXf00rNCgRAk+zAJ98MoFJws0o7tQR8FIVDxXBn6pi8gCfRN5g
LeirRBKIEUEmKtOOaAIb2Ds=
=s8EP
-----END PGP SIGNATURE-----



More information about the Zope mailing list