organizing many python scripts, in a large corporate environment.

bukzor workitharder at gmail.com
Wed Mar 16 21:03:19 EDT 2011


On Mar 16, 3:29 pm, bukzor <workithar... at gmail.com> wrote:
> On Mar 15, 11:57 pm, "eryksun ()" <eryk... at gmail.com> wrote:
>
> > On Tuesday, March 15, 2011 12:44:48 AM UTC-4, bukzor wrote:
>
> > > Currently it requires either: 1) no symlinks to scripts or 2)
> > > installation of the pathtools to site-packages.
>
> > An executable with a unique name on the system PATH could be executed it as a subprocess that pipes the configured base directory back via stdout. Then you can just do site.addsitedir(base).
>
> I'm not able to picture this. Could you add detail?

I finally understand. You mean something along the lines of `kde-
config`: an executable to help figure out the configuration at
runtime. This requires either installation or control of the $PATH
environment variable to work well, which makes not so useful to me.



More information about the Python-list mailing list