how to install plone.app.event on a policy package?

Héctor Velarde <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
hi, I'm finishing integration of p.a.event 1.1.1 on a policy package for 
a project I'm working on;

- I listed it as a dependency on setup.py

     install_requires=[
         ...
         'plone.app.event [archetypes] <1.2',
         ...
     ],

- I read its configure.zcml:

     <include package="plone.app.event" />

- I installed it adding the following to metadata.xml:

     <dependency>profile-plone.app.event.at:default</dependency>

the package installs its configlet because I see a link to Event 
Settings on the control panel:

https://github.com/plone/plone.app.event/blob/1.1.x/plone/app/event/profiles/default/controlpanel.xml

but both GS profiles appear as not installed.

also, a quick test show it is not installed indeed and can not be installed:

(Pdb) self.qi.isProductInstalled('plone.app.event')
False
(Pdb) from plone import api
(Pdb) setup = api.portal.get_tool('portal_setup')
(Pdb) 
setup.runAllImportStepsFromProfile('profile-plone.app.event.at:default')
     ...
(Pdb) self.qi.isProductInstalled('plone.app.event')
False

if I install plone.app.event.at via control panel it seems to work, but 
then plone.app.event 1.1.1 remains uninstalled.

what I'm doing wrong? do I have to deal manually with 
Products.DateRecurringIndex dependency in some way? do I have to install 
plone.app.event before plone.app.event.at? how?

best regards
-- 
Héctor Velarde

------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
smime.p7s (application/pkcs7-signature, 3.7 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.