Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-20 Thread Chris Withers
On 05/09/2010 15:03, Wichert Akkerman wrote: On 2010-9-4 00:43, Chris Withers wrote: On 03/09/2010 17:21, Tres Seaver wrote: I am not sure if this is best done in plone.recipe.zope2instance or Zope2.Startup.zopectl. They have differing versions of ZopeCmd. Perhaps the

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-09 Thread Wichert Akkerman
On 9/3/10 18:21 , Tres Seaver wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-09 Thread Marius Gedminas
On Thu, Sep 09, 2010 at 02:45:10PM +0200, Wichert Akkerman wrote: I've opted for a third alternative: use an entry point to define the extra commands. If you do this in setup.py: entry_points= [zopectl.command] mycommand = mypackage.commands:func you can do:

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-05 Thread Wichert Akkerman
On 2010-9-4 00:43, Chris Withers wrote: On 03/09/2010 17:21, Tres Seaver wrote: I am not sure if this is best done in plone.recipe.zope2instance or Zope2.Startup.zopectl. They have differing versions of ZopeCmd. Perhaps the plone.recipe.zope2instance code should be merged into Zope2's

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-05 Thread Wichert Akkerman
On 2010-9-5 16:03, Wichert Akkerman wrote: On 2010-9-4 00:43, Chris Withers wrote: On 03/09/2010 17:21, Tres Seaver wrote: I am not sure if this is best done in plone.recipe.zope2instance or Zope2.Startup.zopectl. They have differing versions of ZopeCmd. Perhaps the plone.recipe.zope2instance

[Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Wichert Akkerman
I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to it hard to predict. This is not the most user friendly command:

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Hanno Schlichting
On Fri, Sep 3, 2010 at 9:50 AM, Wichert Akkerman wich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Wichert Akkerman
On 9/3/10 10:27 , Hanno Schlichting wrote: On Fri, Sep 3, 2010 at 9:50 AM, Wichert Akkermanwich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Hanno Schlichting
On Fri, Sep 3, 2010 at 10:30 AM, Wichert Akkerman wich...@wiggy.net wrote: On 9/3/10 10:27 , Hanno Schlichting wrote: Given that this code is completely untested except for people actually using it on different platforms I'm not personally going to merge the codebase any further. But anyone

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread David Glick
On Sep 3, 2010, at 12:50 AM, Wichert Akkerman wich...@wiggy.net wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: I have noticed that now that we are almost exclusively using eggs to distribute our software using bin/instance run has become difficult: often the script you want to run is located inside an egg which makes to path to

Re: [Zope-dev] Extending Zope2 bin/instance run

2010-09-03 Thread Chris Withers
On 03/09/2010 17:21, Tres Seaver wrote: I am not sure if this is best done in plone.recipe.zope2instance or Zope2.Startup.zopectl. They have differing versions of ZopeCmd. Perhaps the plone.recipe.zope2instance code should be merged into Zope2's original as well? I don't know anything about