how do editable pip installs work? (intermediate) anthony explains #124

preview_player
Показать описание
today I talk about `pip install -e .` and how that makes a library live-editable!

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

So, the "--editable" means: the project source code is still editable after it's installed, and the new edited source code result could be directly reflected in the installed environment(no need reinstall again). It makes debuging and test faster because we could skip the uninstall&install(again) steps.
But I still feel the "editable" makes me confused, and I also can't find any new better&suitale word to name this option.

zhongzhongclock
Автор

At first I read it as "edible pip installs" and now I'm a bit disappointed :-(
Still, great explanation though (y)

JakubYTb
Автор

Hi, thank you for a great and simple explanation on the -e/--editable flag and functionality, I got way confused by other overdone explanations!
I'm new to Python packaging and I read up on the whole PyPA site to understand more, I'm just wondering if the *egg-info directories that get created on pip install/sdist/bdist_wheel are necessary to keep with the project or not? Put them in .gitignore or not?

mausunk
Автор

somehow, after pip editable install, I cannot undo (uninstall) the package... pip uninstall <pkg> only returns an error (Can't uninstall <pkg>. No files were found to uninstall. However, pip freeze shows that the package still exists and I can still import the package.. any ideas?

danielcrone
Автор

Hello, do you have a video that explains how you set up what's on the left half of your screens vs right half. I know it's really basic but I am learning to code and I really love how you've set up your system.

DennisZIyanChen