Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
djsumdog666620hYou can point a dependency in your virtual environment pyproject.yaml to a local project. You can also reference a local project in VisualStudio instead of the nuget version....
..pretty sure you can do this in every package manager out there. -
Lensflare2048420h@djsumdog you can’t without circumventing the package manager itself.
Sure you can add the project from a local source instead of using nuget.
But then you aren’t using nuget.
That’s the problem with centralized package managers.
SPM is not centralized. -
BordedDev249416h@Lensflare Why not just create a fork repo?
And AFAIK in both in node and python you still it with the original name, you just set the version to the git url/path. But in python you can just dynamically modify the module path, it was even the standard for google app engine projects for the longest time (vendoring libraries)
Either
import sys
sys.path.append("path")
or setting PYTHONPATH env (same as path with ; separator)
But also keep the positive rants flowing :D -
Lensflare2048416h@BordedDev pointing it to a fork with a url instead of a local copy would mean that you need to commit and push your changes to test if it works.
Modifying the code directly locally is much faster. You can practically have it in a hot reload loop (Preview in SwiftUI land).
And of course your local copy can be a git fork so that you can push the changes when you are done. -
Lensflare2048415h@antigermanist I know. You just won't shut up about it and spam it in every rant.
You are really obsessed with me it seems. -
jestdotty651610h@Lensflare if everywhere you go it smells like poop check your shoe
you act like such a Nazi for no reason -
@jestdotty nowhere I go smells like poop. It only reeks when I talk to very specific people.
What is it this time, that makes me a Nazi? Is it because of the answer I gave to our shitwaffle ostream or is it something else that I said? -
@Lensflare you can't smell it because you're german
Sometime we get literal poo smell from the rurh valley's industries -
@Lensflare and also don't insult waffles!!!! WAFFLES ARE GREAT.
You cannot find a more perfect balance of sweet and fulfilling. Respect my cultural heritage you currywurst -
Lensflare2048416m@antigermanist
> you came to my rant to call me an asshat, scum
Yes and now you spam 5 comments per second on each rant that you find my comments in.
Relax, I’m sure I’m not the first one to point out what a huge dumbshit you are.
It’s ok to be dumb. But it’s not ok to be an asshole. -
Lensflare2048415m
It’s a freaking joy to work with SPM (swift package manager)
I needed to fix a bug in a 3rd party lib, so I just changed how the lib is included from a git url to local file system.
Then I could edit the code of the lib and the changes are immediately reflected in the project. So I could see if the fix is working.
Now that I found a fix, I can make a PR for the lib repo and when it’s merged I switch back from local to git url.
Such an upgrade from traditional package managers such as nuget, npm, cocoa pods, etc.
rant