Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python setuptools install as editable

I am packaging a python app with setuptools, typically running python setup.py install And it packages everything into an egg and installs it.

The problem is I want it to be installed as editable, so I can go into site-packages and make changes to the app source code. I haven't yet found out how to do it yet.

On my previous work environment, running python setup.py install would copy the source folder to the site-packages, but this time it doesn't do it.

like image 701
James Lin Avatar asked Oct 03 '22 09:10

James Lin


1 Answers

You can try:

python setup.py develop

like described here.

like image 58
Bula Avatar answered Oct 07 '22 21:10

Bula