Reputation: 18627
I'm working with a custom package that I'd like to modify while I'm using it. When I run python setup.py install --user
, it copies the files to another directory --- so everytime I make a change, I have to re-install
with -f
. Is there a way to install without making a copy of the .py
files --- so that I can keep modifying them in place?
Upvotes: 0
Views: 53
Reputation: 36757
Do an "editable install":
pip install --user -e .
This will add the current directory to your python path instead of copying the files into the packages directory.
Upvotes: 2