Sean 'Shaleh' Perry <[EMAIL PROTECTED]> 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" (without quotes). There's something about .pth files in file:/usr/share/doc/python/html/lib/module-site.html. > 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.