Re: getting a python module accepted by python?
Sean 'Shaleh' Perry <email@example.com> writes:
> Is there a way to make a site-packages/foo/foo.py without requiring
> a change in programs calling foo?
The latest python-numeric package puts its files into
site-packages/Numeric and creates a file called
site-packages/Numeric.pth which contains the directory name "Numeric"
There's something about .pth files in
> Also, sorry to get off topic, but should the postinst compile the
> module? Won't this happen the first time the module is imported?
Probably only if the Python interpreter is run by root since other
users cannot write to the site-packages directory.