[Python-Dev] Re: hook for standalone executable

Thomas Heller theller at python.net
Thu Aug 14 22:29:07 EDT 2003


Jeff Epler <jepler at unpythonic.net> writes:

> On Thu, Aug 14, 2003 at 07:29:02PM +0200, Thomas Heller wrote:
>> Here's another idea, based on the ancient history of Visual Smalltalk:
>> Let the hook be triggered by the fact that in the same directory as the
>> executable is another file present having the same name as the
>> executable, with a certain extension appended (VS used '.bnd').
>
> -1.  This may be a good answer on Windows and Mac, but this is very
> much not the Unix way.  If a file is in a directory called "bin", it'd
> damned well better be an executable file.

Ok. I don't know enough about Unix. What's the usual directory layout if
an executable needs additional private files (library.zip, something.so
and so on)?

Thomas




More information about the Python-Dev mailing list