Development Vs Release
ldo at geek-central.gen.new_zealand
Thu Nov 11 00:07:17 CET 2010
In message <201011100749474192-nomail at thisaddresscom>, Sven wrote:
> I don't like the idea of flags inside the code as they can often get
> missed when developers release their code, ending up with released
> versions that import modules from the developer's working directory.
I have used a flag, together with a custom installation script that knows
how to edit that flag in each source file depending on whether it’s being
installed for testing or production use.
More information about the Python-list