[python-win32] distutils question

robin and jim robinjim@earthlink.net
Fri, 29 Mar 2002 04:47:58 -0700


----- Original Message -----
From: "Niki Spahiev" <niki@vintech.bg>
To: "robin and jim" <robinjim@earthlink.net>
Cc: <python-win32@python.org>
Sent: Friday, March 29, 2002 3:11 AM
Subject: Re: [python-win32] distutils question


> robin and jim wrote:

[snip]

> > When an __init__ module is added to each directory ( GOES_12,
GOES_12\SXI,
> > GOES_12\SXI\GDS) the import works without having to set PYTHONPATH or
the MS
> > Windows Registry.  That is great!
> >
> > The question is: how should setup.py be implemented to automate this so
that
> > an __init__ module is placed in each directory as it is created during
the
> > build?
>
> Well IMHO this is not a task for setup.py but for module writer.
>
> Niki Spahiev
>

Perhaps you are correct, but if setup.py is to install a package, I want to
make it do so without additional user effort (e.g., manually adding __init__
modules or updating the Windows registry).  Some packages do this; I just
have not, yet, discovered how they do so.