-
Notifications
You must be signed in to change notification settings - Fork 20
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
More pythonic, less system-heavy ? #88
Comments
Hi Alex, It's difficult to use OG separately from TASTE as it requires a runtime to orchestrate multiple SDL processes (and manage the PIDs, the instance creations, the timers, the interfacing with other languages). What is your use case? |
Hi Maxime, and thanks for the quick answer. Well, I keep switching between languages, as I usually don't find work that uses the esoteric ones that I enjoy. So my immediate usecase would be a SDL diagramming tools as such. Not a generic drawing tool though, as I expect it would help me "thinking" right, and prevent me from "thinking" wrong. A second step might be some bidirectional direction with erlang code (generate code, or generate diagram from code...), but I'm not sure how far along this road I can travel... but the runtime already seems to match what SDL expects ? Now for the technical bits :
The main challenge in my experience dealing with python packages and lowlevel requirements, is that the python world moves much faster, and the expectations of the python users, regarding the "best/easier/usual/proper way to do things" can change quite quickly. For instance, here I expect dealing with a virtualenv specific to this repo, not the user's one... That is probably expected for my usecase (isolated from the system), but TASTE usecase probably requires access to some system utils and packages (which ones?). I currently have opengeode starting and I can draw some diagrams, and now I have to learn how to use it to detect these deeper connections to system utils that I may have broken... So I think if we can have some small issues here, showing how opengeode wants to evolve in TASTE, that would be helpful for newcomers like me, to take it one tiny step at a time. Or is there another issue tracker I can have a look at ? Thanks for all the help and info you can provide. Cheers, and thanks a lot for the work already done here ! |
Useful references : https://packaging.python.org/en/latest/guides/ Quick Updates :
Two questions are:
Let me know what you think thanks ! |
One comment on |
After thinking about this a bit more, the bigger change I'd like to do is moving from a "user" virtual env to a "project" virtual env for opengeode, and all its development dependencies. This way cloning the repo and retrieving dependencies via pip will not impact the user environment. This way, we can leave that potentially unsafe steps to the "install" stage. In project venv:
The opengeode pip package then becomes installable in any python virtual env, meaning user or system as well, if someone whishes so. I m not sure how to articulate that with the makefile however... and I think direnv can help. However both tools are messing with the shell in different ways, so I guess we'll see if problems arise... I ll make a PR to try things out and discuss it, but I think it ultimately comes down to how developers will use the repo... |
Hi,
I would like to use opengeode without the whole TASTE environment, and if possible with recent dependencies.
Since opengeode is written in python I was hoping to get it to run with minimal changes on my machine, since I use a virtualenv to hold what is related to the python code for this project.
I started making some changes for this there : https://github.com/asmodehn/opengeode/pull/1/files
Feel free to grab what is of interest to you, or let me know if you have any question / concerns / future plans, I can always make a pull request to this repo.
I wish one day I ll be able to install opengeode from pip with just a minimal set of system dependencies.
Cheers!
The text was updated successfully, but these errors were encountered: