Changeset 1179 in products


Ignore:
Timestamp:
Jul 28, 2009 10:14:15 AM (12 years ago)
Author:
piv
Message:

add depencencies, register profile, add settings using plone.registry, remove zopeskel entry points, remove registration of package as zope2 product, update readmes

Location:
quintagroup.dropdownmenu/trunk
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.dropdownmenu/trunk/README.txt

    r1173 r1179  
    1919content structure. 
    2020 
    21 It also allows you to define whether to put content tabs before or after action tabs, 
    22 and a bit more... For details see below. 
     21It also allows you to define whether to put content tabs before or after action 
     22tabs, and a bit more... For details see below. 
    2323 
    2424 
     
    4040--------------------------------- 
    4141 
    42 In case qPloneDropDownMenu product was previously installed, it will automatically  
    43 detect legacy settings and migrate it to a newly created tool along with removing old 
    44 portal_dropdownmenu one during a site installation procedure. 
     42In case qPloneDropDownMenu product was previously installed, it will 
     43automatically detect legacy settings, migrate it to a newly created settings 
     44registry and update portal_actions tool if required along with removing old 
     45portal_dropdownmenu one. 
    4546 
    4647Also installation procedure will uninstall qPloneDropDownMenu product itself 
     
    4950Note: to successfully migrate old tabs it's required to have a valid html 
    5051markup, otherwise migration procedure won't be able to move tabs correctly. 
    51  
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/__init__.py

    r1154 r1179  
     1from zope.i18nmessageid import MessageFactory 
    12 
    2 def initialize(context): 
    3     """Initializer called when used as a Zope 2 product.""" 
     3_ = MessageFactory("quintagroup.dropdownmenu") 
  • quintagroup.dropdownmenu/trunk/quintagroup/dropdownmenu/configure.zcml

    r1154 r1179  
    44    i18n_domain="quintagroup.dropdownmenu"> 
    55 
    6   <five:registerPackage package="." initialize=".initialize" /> 
     6  <!-- Include configuration for dependencies listed in setup.py --> 
     7  <includeDependencies package="." /> 
     8 
     9  <!-- Register the installation GenericSetup extension profile --> 
     10  <genericsetup:registerProfile 
     11      name="default" 
     12      title="Plone DropDown Menu" 
     13      description="DropDown Menu Product for Plone" 
     14      directory="profiles/default" 
     15      provides="Products.GenericSetup.interfaces.EXTENSION" 
     16      for="Products.CMFPlone.interfaces.IPloneSiteRoot" 
     17      /> 
    718 
    819</configure> 
  • quintagroup.dropdownmenu/trunk/setup.cfg

    r1157 r1179  
    1 [zopeskel] 
    2 template = plone 
    3  
    41[egg_info] 
    52tag_build = dev 
  • quintagroup.dropdownmenu/trunk/setup.py

    r1159 r1179  
    2828      install_requires=[ 
    2929          'setuptools', 
    30           # -*- Extra requirements: -*- 
     30          'Plone', 
     31          'plone.app.registry', 
    3132      ], 
    3233      entry_points=""" 
    33       # -*- Entry points: -*- 
    34  
    35       [distutils.setup_keywords] 
    36       paster_plugins = setuptools.dist:assert_string_list 
    37  
    38       [egg_info.writers] 
    39       paster_plugins.txt = setuptools.command.egg_info:write_arg 
    40  
    4134      [z3c.autoinclude.plugin] 
    4235      target = plone 
    4336      """, 
    44       paster_plugins = ["ZopeSkel"], 
    4537      ) 
Note: See TracChangeset for help on using the changeset viewer.