[bind10-dev] python files below src/bin

Shane Kerr shane at isc.org
Mon Mar 15 09:38:50 UTC 2010


Jelte,

On Mon, 2010-03-15 at 09:44 +0100, Jelte Jansen wrote:
> I just noticed that when doing make install bindctl is installed, but
> the python modules it uses are not. Trying to figure out where it should
> install those, I couldn't really find an example; only b10-cfgmgr has a
> minimal .py.in file, the rest still contain nearly all code in the .in
> file...
> 
> The part of b10-cfgmgr that actually contains all the code lives under
> src/lib/python/isc/config, and while that's technically not the best
> place to put it, at least it gets installed.
> 
> Should we move all .py files that support the python tools under lib? Or
> should we keep them under bin/? And where should we install them then?

Having things in "bin" that can't be run seems odd to me. These support
files should surely be in a "lib" directory somewhere, or something like
it.

We already have:

        lib/python3.1/site-packages/isc

So this seems like a reasonable place for random Python code, doesn't
it?

--
Shane




More information about the bind10-dev mailing list