Replies: 4 comments 14 replies
-
hmm, the concept of embeddable is to include a light weight interpreter with your application, thats why pip is left out, and I think this should also hold true for what comes with flow's python implementation, it is geared towards average user. We can update the python template to include these tools for development, but i dont think pip and dependent packages should be included with the download. Python devs would have their own setup anyway. Ideally, the development is local and the plugin release and flow's python are both purely for usage, no included extras. |
Beta Was this translation helpful? Give feedback.
-
what about a plugin that will download the python template and embedded python with pip that users can use to tinker/develop plugins? this saves from copy and pasting code from the python doco guide, plus the benefit of a dedicated plugin dev environment? |
Beta Was this translation helpful? Give feedback.
-
I don't suggest do this. Hi, don't forget why we use the pure python interpreter. But for advanced users, if they want to develop a plugin. |
Beta Was this translation helpful? Give feedback.
-
@taooceros @jjw24 @Garulf @deefrawley Right now, without With
Not that complicated, we can write this in a beginner tutorial for people copy, seems much simpler than install the offical python, which can cause troubles in multiple ways:
Too many "maybe" for beginners, with |
Beta Was this translation helpful? Give feedback.
-
Why:
For users want to start develop Python plugins without have to install another Python to the system.
If User does not develop Python plugins, then it doesn't affect the current design in any way (packages management is still the same strategy, still
pip install --target
)How:
We need to maintain a workflow like below, this workflow download the official EmbeddablePython, extract, install
pip
(andsetuptools
,wheel
) into it (withget-pip.py
), then re-archive it and release as a zip file.Workflow: https://github.com/pc223/PythonEmbeddableWithPip/blob/main/.github/workflows/test2.yml
Release example: https://github.com/pc223/PythonEmbeddableWithPip/releases
After that we need to add the new .zip url to Droplex for Flow download (maybe automate with CI too)
Thought? 😄
Beta Was this translation helpful? Give feedback.
All reactions