-
Notifications
You must be signed in to change notification settings - Fork 102
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
Python integration #713
Comments
please make sure, that pip is also installed! I made it once for python integration into devonfw ide and there is some script which needs to be executed and some path adaptations to make python portable work properly. https://stackoverflow.com/questions/23888109/portable-python-cant-install-pip |
@albertdb, just have seen the requirement is coming from hangar https://github.com/devonfw/hangar/blob/f651d23d53f74c8c9904da82313a7a878aab2f92/scripts/accounts/aws/custom-policies-check.py is there a reason, why there is just one python file? Couldn't this be implemented in bash? |
The usage of python within Hangar is broader, but it is embedded in shell scripts (which is a good thing from Python, you can run one-liners easily). The first (non-working) version of that algorithm was is Bash and it was unreadable. |
HI @BizarreBits |
@albertdb did you observe the things happening here? Could we get in touch? In case you are a "python expert" you could give us some assistance for small design decisions. |
to avoid confusion
This reverts commit c32ec59.
So actually the entire idea of devonfw-ide is following:
We managed to make this work for Why on earth can we get this working for python.
|
I am not sure whether I got it 100% to work, but I was able to get a portable solution at least for cobigen quite some years ago with this hin: https://stackoverflow.com/a/55271031 It feels more like a hack but could work |
@maybeec thanks for your suggestion. That is what we are using on windows. Maybe our problems reside from that we are using a "hack" as you call it. |
FYI: There is an interesting discussion regarding this problem in a parallel thread in #841. |
As a devon IDE user, I want to have Python available in the devon IDE so that I and my team can easily ramp up our development environment and we are using the same and correct versions of the tool.
Acceptance criteria:
17.05:
14.06:
The text was updated successfully, but these errors were encountered: