6

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.

1
  • I managed to do it by running pip install -e ./ inside the app project folder, and I think this is better approach because it links back to the development folder. But I would still like to find out how to do it by running python setup.py install Commented Nov 20, 2013 at 22:26

1 Answer 1

4

You can try:

python setup.py develop

like described here.

Sign up to request clarification or add additional context in comments.

1 Comment

The link goes missing now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.