Follow

So, Python hacking friends...I need to work on an app that I'd normally install from pip and I have no clue at all how to actually iterate on this thing. Like, how do I set up a local environment properly? How do I get Python to read the local source and not the stuff installed via pip? A crusty old C hacker needs to know.

@roadriverrail Use python's builtin venv module to set up local environments for dev. packaging.python.org/guides/in
And use `pip install -e .` to install the package defined in the current directory. Technically . there can be any path or clonable got repo, but . is the most common.

Sign in to participate in the conversation
Signs & Codes

Signs & Codes is a private Mastodon instance built around a community of friends.