[Puppet Users] Windows + Python Installation + pip + PATH environment variable

2013-03-12 Thread Rich Siegel
Have you tried changing your path via setx unattend? Programmatically changing it (a la the registry provider) won't take effect according to http://msdn.microsoft.com/en-us/library/ms682653%28v=VS.85%29.aspx You might also try forcing a child shell through running a sub cmd /k or similar mea

[Puppet Users] Windows + Python Installation + pip + PATH environment variable

2013-03-11 Thread Olivier Trempe
Here's the scenario: I want to install python and use the pip provider to install python packages, all in the same run. So far, I've managed to: 1. Install python with msi installer 2. Add C:\Python27 and C:\Python27\Scripts to PATH environment variable through HKEY_LOCAL_MACHINE\SYSTEM\Curren