On Tuesday, March 15, 2011 12:44:48 AM UTC-4, bukzor wrote:
> When looking at google code search, this kind of code is 
> rampant (below). Is everyone really happy with this?
> 
> sys.path.insert(0,
> os.path.dirname(os.path.dirname(
>                 os.path.dirname(os.path.abspath(__file__)))))

Applications and libraries should be properly packaged (e.g. distutils, egg, 
rpm, deb, msi, etc). If that can't be done for some reason, then we're stuck 
with kludges.

If you could just get a .pth file symlink'd to site-packages.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to