Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Grant Edwards
On 2017-06-29, Rob Gaddi wrote: > On 06/29/2017 08:32 AM, Grant Edwards wrote: >> >> This is somebody else's project I'm hacking on, and my understanding >> of setup tools is pretty much at the "cargo cult" level. > > I have a sneaking suspicion that's everyone. Setuptools (and distutils > befo

Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Rob Gaddi
On 06/29/2017 08:32 AM, Grant Edwards wrote: This is somebody else's project I'm hacking on, and my understanding of setup tools is pretty much at the "cargo cult" level. I have a sneaking suspicion that's everyone. Setuptools (and distutils before it) has no underlying rhyme or reason; jus

Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Tim Daneliuk
On 06/29/2017 09:03 AM, Grant Edwards wrote: > I've forked a copy of https://github.com/Roguelazer/muttdown and have > been adding a few features and fixing a few bugs. It's meant to be When doing this sort of thing, I find 'pew' virtual environments immensely helpful. They allow you to control

Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Tim Daneliuk
On 06/29/2017 09:03 AM, Grant Edwards wrote: > I've forked a copy of https://github.com/Roguelazer/muttdown and have > been adding a few features and fixing a few bugs. It's meant to be When doing this sort of thing, I find 'pew' virtual environments immensely helpful. They allow you to control

Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Grant Edwards
On 2017-06-29, Peter Otten <__pete...@web.de> wrote: > Grant Edwards wrote: > >> The projects 'main.py' can't be run directly from the command line, >> since it contains code like this: >> >>from . import config >>from . import __version__ >>__name__ = 'muttdown' >> >>[ stuff t

Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Peter Otten
Grant Edwards wrote: > The projects 'main.py' can't be run directly from the command line, > since it contains code like this: > >from . import config >from . import __version__ >__name__ = 'muttdown' > >[ stuff that does real work ] Stupid question: isn't the following >

Re: Development testing without reinstalling egg constantly?

2017-06-29 Thread Ned Batchelder
On Thursday, June 29, 2017 at 10:04:30 AM UTC-4, Grant Edwards wrote: > I've forked a copy of https://github.com/Roguelazer/muttdown and have > been adding a few features and fixing a few bugs. It's meant to be > installed using setup tools, and then invoked via /usr/bin/muttdown > which looks lik

Development testing without reinstalling egg constantly?

2017-06-29 Thread Grant Edwards
I've forked a copy of https://github.com/Roguelazer/muttdown and have been adding a few features and fixing a few bugs. It's meant to be installed using setup tools, and then invoked via /usr/bin/muttdown which looks like this: #!/usr/lib/python-exec/python2.7/python2 # EASY-INSTALL-ENTRY-S