Discussion:
zopeskel.dexterity update
Steve McMahon
2011-05-05 01:44:43 UTC
Permalink
Hi Dexterity & ZopeSkel lists,

FYI, I've merged to zopeskel.dexterity trunk a set of changes meant to make
zopeskel.dexterity's generated skeletons a bit more grok-like and a bit more
like what's described in the Dexterity docs. I've copied the previous state
of zopeskel.dexterity into a 1.2 branch.

If folks like this, I'd like to move it to beta soon. Let me know if you
have reservations or suggestions.

Steve

Merge changes:

- Removed content field and view local command templates. My rationale for
removing the field template is that most novice developers should be using

TTW models and taking advantage of supermodel round-tripping. Those who
are
comfortable with schema fields are probably not likely to be using a tool
like ZopeSkel to add them. The rationale for removing the view template is
simpler: it's main functionality is now in the content-type template.

- Add sample view definition with addition of a content type.

- Revise to use filenames that will match those created by dexterity's
export
buttons. This means removing the dotted filename style.

- Revise to use grok-style directory structures that will more closely
correspond with the dexterity docs.
rik
2012-11-19 02:09:53 UTC
Permalink
Steve et al,

i'm bumping into the sort of pkg_resources.DistributionNotFound error
anticipated by your Errors doc @http://pypi.python.org/pypi/zopeskel.dexterity. but the fix you recommend doesn't, for me? specifically i have:

[zopeskel]
# installs paster and Zopeskel
recipe = zc.recipe.egg
eggs =
ZopeSkel
Paste
PasteDeploy
PasteScript
zopeskel.dexterity<=2.99
${client1:eggs}
entry-points = paster=paste.script.command:run

in my (zeo) buildout, but when I issue the command

.../<my.package> % paster addcontent dexterity_content

i get the error:

pkg_resources.DistributionNotFound: z3c.blobfile: Not Found for:
<my.package> (did you run python setup.py develop?)

any guesses?
Cris Ewing
2012-11-19 02:27:44 UTC
Permalink
Rik,

The first thing I'm noticing from this is that you are typing `paster addcontent dexterity_content`. I am curious if the paster you are using is the same as the one in your buildout. If you issue the commend `which paster`, what is the path to the paster that is found? Is it in fact the same as the one in your buildout?

Cris
Post by rik
Steve et al,
[zopeskel]
# installs paster and Zopeskel
recipe = zc.recipe.egg
eggs =
ZopeSkel
Paste
PasteDeploy
PasteScript
zopeskel.dexterity<=2.99
${client1:eggs}
entry-points = paster=paste.script.command:run
in my (zeo) buildout, but when I issue the command
.../<my.package> % paster addcontent dexterity_content
pkg_resources.DistributionNotFound: z3c.blobfile: Not Found for: <my.package> (did you run python setup.py develop?)
any guesses?
_______________________________________________
ZopeSkel mailing list
https://lists.plone.org/mailman/listinfo/plone-zopeskel
Cris Ewing
--------------------------------------------------
Principal, Cris Ewing, Developer LLC
http://www.crisewing.com
cris-pc0DtrlmWl/***@public.gmane.org
1.206.724.2112

Loading...