Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Python package editable via PyCharm

Tags:

python

pycharm

If I develop on linux I create a virtualenv, and then I install git repos like this:

pip install -e git+https://source.internal.lan/repos/foo#egg=foo

This installs package "foo" in $VIRTUAL_ENV/src/foo.

Now I have a project where I develop on windows.

On Windows I would like to do this via PyCharm.

How to do install package "foo" editable with PyCharm (without the command line)?

I a searching the equivalent GUI operations.

like image 964
guettli Avatar asked Aug 24 '26 18:08

guettli


1 Answers

You could create requirements.txt with -e git+https://source.internal.lan/repos/foo#egg=foo inside and then PyCharm would suggest you to install foo.

like image 78
user2235698 Avatar answered Aug 26 '26 07:08

user2235698



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!