[IronPython] Default install location and site-packages

Michael Foord fuzzyman at voidspace.org.uk
Tue Oct 6 13:45:27 CEST 2009


Hello guys,

The msi installer installs by default into "C:\Program Files\IronPython 
2.6". It also creates a "Lib\site-packages" folder.

Presumably the intention is that site-packages is for installed modules 
/ packages, however "Program Files" is a special location and normal 
users (Vista / Windows 7) *can't* create files there. This means that 
distutils *must* be run with elevated permissions to install into this 
location.

It doesn't work anyway because distutils attempts to bytecode-compile, 
which unsurprisingly fails with IronPython - but that bug in distutils 
will be fixed shortly.

I don't have an obvious solution (per user site-packages perhaps?) but 
present the problem. Python circumvents this problem by *not* installing 
into "Program Files".

All the best,

Michael

-- 
http://www.ironpythoninaction.com/




More information about the Ironpython-users mailing list