On 27 May 2003, Mark Bucciarelli said:
> if there is only one '*.conf' file in the namespace module, then load
> it. this breaks with quixote's philosophy of being explicit, but it
> is how i expected the server to work.
Interesting idea -- you are right that it doesn't belong in the core,
but Quixote needs an examples or contrib directory for this sort of
stuff!
> this is cool b/c you don't have to put stuff under site-packages when
> you are developing, you can work local to your account.
My usual trick is to make ~/lib/python/project a symlink to
~/src/project/lib, which contains the __init__.py file for the 'project'
package. Of course PYTHONPATH=$HOME/lib/python.
> i didn't want to develop as root and the ./setup.py sdist + install
> loop is too slow. there's probably some clever way around this.
Ummm, you *can* just do "python setup.py install" from your source tree.
The Distutils were designed to make life easier for developers as well
as packagers and end-users -- in fact the "install" command is smart
enough to skip installing files that haven't changed since the last
installation. (I still occasionally wonder if this is a bug or a
feature, but I haven't been bitten and no one has complained [to me] yet
...)
Greg
--
Greg Ward http://www.gerg.ca/
Speak softly and carry a +6 two-handed sword.