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

[aws-cli] #! path for python uses the Studio path #2551

Open
smacfarlane opened this issue May 8, 2019 · 0 comments
Open

[aws-cli] #! path for python uses the Studio path #2551

smacfarlane opened this issue May 8, 2019 · 0 comments

Comments

@smacfarlane
Copy link
Contributor

It was discovered in #2543 that in Windows, the #! line that is generated for scripts by tools like virtualenv or ruby/bundler includes the full studio path of the studio where the package was built:

PS C:\Users\Administrator\core-plans> cat C:\hab\pkgs\core\aws-cli\1.16.153\20190507142534\Scripts\aws
#!C:\hab\studios\Users--Administrator--core-plans\hab\pkgs\core\aws-cli\1.16.153\20190507142534\Scripts\python.exe
# Copyright 2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.

This is probably related to habitat-sh/habitat#6483

When that issue is resolved, we should investigate if there is any further work needed to fix tools like virtualenv, possibly in the form of helper functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant