Hello,

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?

Cheers

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.