I have written a python module, created dist and installed on my computer. But now I want to update the module? Do I need to edit the file that is placed in site-packages folder directly or should go "Delete previous Dist, Recreate Dist and Reinstall Module" way?


A way I know is to distribute using setuptools in development mode. Use the command

python setup.py develop

in the development directory and you can edit the module indefinitely.