poise / poise-python

A Chef cookbook to provide a unified interface for installing Python, managing Python packages, and creating virtualenvs.
Apache License 2.0
124 stars 108 forks source link

Python_runtime resource does not add python in system path in Windows #98

Closed TheKatarGit closed 7 years ago

TheKatarGit commented 7 years ago

I was not able to find an clear way for python_runtime resource to add installed python into system path in windows. Is this option still not supported? I'm using Windows Server 2012r2. If it makes sense, I install several python versions, ranging from 2.5 to 2.7, and not a single of them is accessible from cmd.

coderanger commented 7 years ago

There is no python_environment resource, do you mean python_runtime or python_virtuealenv?

TheKatarGit commented 7 years ago

@coderanger oops, sorry. I mean python_runtime

coderanger commented 7 years ago

That would be a function of which install provider you used, though windows only offers one so this probably means the MSI installers don't have that option enabled by default. Not a whole lot I can do so just use the windows_path resource to set it up.

TheKatarGit commented 7 years ago

@coderanger thanks a lot!