Developing and packaging my own stuff /u/aqjo Python Education

I have a package (A) I develop that relies on three other packages (B,C,D) that I also develop.
I had B, C, D set up as git submodules in the repo for A, it this required hacking the sys path to make it work.
So now I’ve moved B, C, D out, and installed them (including A) in editable mode.
But when I’m working on everything, sometimes I need to make changes to, say, C. This requires opening another vscode and making whatever changes. Whereas, when they were submodules, I could see the folder in the vscode file explorer and quickly switch between, or have files open from the multiple packages(submodules).
Then there’s all the test and experimentation notebooks that use all the packages, and are in a different folder. All have a git repo of their own.

Is this just the way it is, or am I missing something?
Thanks for any insights!

submitted by /u/aqjo
[link] [comments]

​r/learnpython I have a package (A) I develop that relies on three other packages (B,C,D) that I also develop. I had B, C, D set up as git submodules in the repo for A, it this required hacking the sys path to make it work. So now I’ve moved B, C, D out, and installed them (including A) in editable mode. But when I’m working on everything, sometimes I need to make changes to, say, C. This requires opening another vscode and making whatever changes. Whereas, when they were submodules, I could see the folder in the vscode file explorer and quickly switch between, or have files open from the multiple packages(submodules). Then there’s all the test and experimentation notebooks that use all the packages, and are in a different folder. All have a git repo of their own. Is this just the way it is, or am I missing something? Thanks for any insights! submitted by /u/aqjo [link] [comments] 

I have a package (A) I develop that relies on three other packages (B,C,D) that I also develop.
I had B, C, D set up as git submodules in the repo for A, it this required hacking the sys path to make it work.
So now I’ve moved B, C, D out, and installed them (including A) in editable mode.
But when I’m working on everything, sometimes I need to make changes to, say, C. This requires opening another vscode and making whatever changes. Whereas, when they were submodules, I could see the folder in the vscode file explorer and quickly switch between, or have files open from the multiple packages(submodules).
Then there’s all the test and experimentation notebooks that use all the packages, and are in a different folder. All have a git repo of their own.

Is this just the way it is, or am I missing something?
Thanks for any insights!

submitted by /u/aqjo
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *