Django app - Virtualenv updates my package with my project

Here is the context:
I have a project with an application that I just packed after the standard packaging tutorial for the django application

my-app $ python setup.py sdist

I installed the application in my project

(myenv)myproject $ pip install path/to/my-app/packaged

Now that I need to change my application, I make the changes, then

my-app $ python setup.py sdist
(myenv)myproject $ pip uninstall my-app
(myenv)myproject $ pip install path/to/my-app/packaged

Could there be an easier way to accomplish this?


Update

My idea is to update both my project and my application, so I will have many commits. Then, when I think my application is a version, I would pack it. (Not sure I was clean)

+4
source share
2 answers

, , - , editable:

pip install -e path/to/yourproject
+3

pip install --upgrade <path>

?

+3

All Articles