Skip to content

Commit

Permalink
move package files around to make sense and move insert template out …
Browse files Browse the repository at this point in the history
…of content directory so it will not be uses when it should not be

git-svn-id: http://svn.plone.org/svn/collective/zopeskel.dexterity/trunk@118658 db7f04ef-aaf3-0310-a811-c281ed44c4ad
  • Loading branch information
vangheem committed Jun 3, 2010
1 parent e7d4c31 commit c43faa1
Show file tree
Hide file tree
Showing 32 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion MANIFEST.in
@@ -1,3 +1,3 @@
recursive-include collective * recursive-include zopeskel *
recursive-include docs * recursive-include docs *
global-exclude *pyc global-exclude *pyc
2 changes: 1 addition & 1 deletion README.txt
Expand Up @@ -13,7 +13,7 @@ Add these lines into buildout::
ZopeSkel ZopeSkel
PasteScript PasteScript
PasteDeploy PasteDeploy
collective.dexteritypaste zopeskel.dexterity
${buildout:eggs} ${buildout:eggs}
entry-points = paster=paste.script.command:run entry-points = paster=paste.script.command:run


Expand Down
1 change: 1 addition & 0 deletions docs/HISTORY.txt
Expand Up @@ -6,6 +6,7 @@ Changelog


* added ability to add fields to the content type and behavior schema * added ability to add fields to the content type and behavior schema


* moved to zopeskel.dexterity package


1.0a1dev 1.0a1dev
-------- --------
Expand Down
3 changes: 0 additions & 3 deletions setup.cfg

This file was deleted.

18 changes: 9 additions & 9 deletions setup.py
Expand Up @@ -3,7 +3,7 @@


version = '1.1a1' version = '1.1a1'


setup(name='collective.dexteritypaste', setup(name='zopeskel.dexterity',
version=version, version=version,
description="Paster templates for dexterity", description="Paster templates for dexterity",
long_description=open("README.txt").read() + "\n" + long_description=open("README.txt").read() + "\n" +
Expand All @@ -18,10 +18,10 @@
keywords='plone dexterity', keywords='plone dexterity',
author='Izhar Firdaus', author='Izhar Firdaus',
author_email='izhar@inigo-tech.com', author_email='izhar@inigo-tech.com',
url='http://svn.plone.org/svn/collective/collective.dexteritypaste', url='http://svn.plone.org/svn/collective/zopeskel.dexterity',
license='GPL', license='GPL',
packages=find_packages(exclude=['ez_setup']), packages=find_packages(exclude=['ez_setup']),
namespace_packages=['collective'], namespace_packages=['zopeskel'],
include_package_data=True, include_package_data=True,
zip_safe=False, zip_safe=False,
install_requires=[ install_requires=[
Expand All @@ -33,14 +33,14 @@
entry_points=""" entry_points="""
# -*- Entry points: -*- # -*- Entry points: -*-
[paste.paster_create_template] [paste.paster_create_template]
dexterity = collective.dexteritypaste.dexterity:Dexterity dexterity = zopeskel.dexterity.dexterity:Dexterity
[zopeskel.zopeskel_sub_template] [zopeskel.zopeskel_sub_template]
dexterity_content = collective.dexteritypaste.localcommands.dexterity:DexterityContent dexterity_content = zopeskel.dexterity.localcommands.dexterity:DexterityContent
dexterity_content_field = collective.dexteritypaste.localcommands.dexterity:ContentDexterityField dexterity_content_field = zopeskel.dexterity.localcommands.dexterity:ContentDexterityField
dexterity_behavior = collective.dexteritypaste.localcommands.dexterity:DexterityBehavior dexterity_behavior = zopeskel.dexterity.localcommands.dexterity:DexterityBehavior
dexterity_behavior_field = collective.dexteritypaste.localcommands.dexterity:BehaviorDexterityField dexterity_behavior_field = zopeskel.dexterity.localcommands.dexterity:BehaviorDexterityField
dexterity_view = collective.dexteritypaste.localcommands.dexterity:DexterityView dexterity_view = zopeskel.dexterity.localcommands.dexterity:DexterityView
""", """,
) )
File renamed without changes.
File renamed without changes.
File renamed without changes.
Expand Up @@ -85,7 +85,7 @@ class ContentDexterityField(DexteritySubTemplate):
To add fields to schema To add fields to schema
""" """


_template_dir = 'templates/dexterity/content' _template_dir = 'templates/dexterity/schemas'
_insert_template = 'content/+content_class_filename+.py_insert' _insert_template = 'content/+content_class_filename+.py_insert'
summary = "A schema field adder" summary = "A schema field adder"
sub_dir = 'content' sub_dir = 'content'
Expand Down
@@ -1,3 +1,4 @@

#if $custom_widget #if $custom_widget
form.widget(${field_name}="${custom_widget}") form.widget(${field_name}="${custom_widget}")
#end if #end if
Expand All @@ -18,4 +19,3 @@
) )
#end if #end if
) )

0 comments on commit c43faa1

Please sign in to comment.