You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
what about packages like mypackage/src/namespace/name ?
Actually it is supported only
namespace.name/src/namespace/name
Can we just use setup.py to find namespace and name? Or it is better to avoid this kind of situation, just renaming mypackage in namespace.name?
How to improve?
With plonecli I've created an addon with a dotted namespace but I copied all the directory (the one with buildout inside) in plone src/mypackage instead of copying just the plonecli created subfolder src/namespace in src/namespace.name/ in plone. It works because how setup.py is created to make possible to have buildout in the same directory (base.cfg -> develop = .). Is this the way to do it?
If I want to create an egg from the plonecli addon, I've to move that code around, change the lines in setup.py:
So I think the template should create a src/namespace.name/namespace/name and use develop = src/namespace.name/ (or better mr.developer?), moving setup.py in src/namespace.name (removing the lines above about packages). Could this help?
The text was updated successfully, but these errors were encountered:
bobtemplates.plone/bobtemplates/plone/base.py
Lines 438 to 440 in f5ff6e4
Hi!
what about packages like
mypackage/src/namespace/name
?Actually it is supported only
namespace.name/src/namespace/name
Can we just use setup.py to find
namespace
andname
? Or it is better to avoid this kind of situation, just renaming mypackage in namespace.name?How to improve?
With plonecli I've created an addon with a dotted namespace but I copied all the directory (the one with buildout inside) in plone
src/mypackage
instead of copying just the plonecli created subfoldersrc/namespace
insrc/namespace.name/
in plone. It works because how setup.py is created to make possible to have buildout in the same directory (base.cfg
->develop = .
). Is this the way to do it?If I want to create an egg from the plonecli addon, I've to move that code around, change the lines in setup.py:
So I think the template should create a
src/namespace.name/namespace/name
and usedevelop = src/namespace.name/
(or bettermr.developer
?), movingsetup.py
insrc/namespace.name
(removing the lines above about packages). Could this help?The text was updated successfully, but these errors were encountered: