Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Python2 and Python3 Scripts dir to PATH using installer option (#111) #261

Merged

Conversation

obilodeau
Copy link
Contributor

@obilodeau obilodeau commented Jul 15, 2016

This allows pip installed programs that provide scripts to be accessible from the cmd.exe. This is how this works on Linux.

Example without this option:

pip3 install git+https://github.com/GoSecure/malboxes.git@pip-packaging#egg=malboxes
C:\...> malboxes -V
'malboxes' is not recognized as an internal or external command,
operable program or batch file.

Example with this option:

pip3 install git+https://github.com/GoSecure/malboxes.git@pip-packaging#egg=malboxes
C:\...> malboxes -V
malboxes-script.py 0.2.0dev

@obilodeau obilodeau mentioned this pull request Jul 15, 2016
3 tasks
@obilodeau
Copy link
Contributor Author

obilodeau commented Jul 16, 2016

Added Python2 after discussion in #111.

I tested the Python2 solution and it worked for me on Windows 10 32 bit using python2-x86_32.

@obilodeau obilodeau changed the title Added Python3 Scripts dir to PATH using installer option (#111) Added Python2 and Python3 Scripts dir to PATH using installer option (#111) Jul 16, 2016
@gep13
Copy link
Member

gep13 commented Jul 27, 2016

@obilodeau looks good to me. Thanks for getting this done, and apologies for taking so long to get back to you about this.

@gep13 gep13 merged commit 66af00c into chocolatey-community:master Jul 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants