Netro Netro - 1 year ago 243
Python Question

Python develop vs install

Two options in

are confusing me. According to this site, using
creates a special link to site-packages directory.

People have suggested that I use
python install
for a fresh installation and
python develop
after any changes have been made to the setup file.

Can anyone shed some light on the usage of these commands?

Answer Source

python install is used to install (typically third party) packages that you're not going to be developing/editing/debugging yourself.

For your own stuff, you want to get your package installed and then be able to frequently edit your code and not have to re-install your package—this is exactly what python develop does: installs the package (typically just a source folder) in a way that allows you to conveniently edit your code after its installed to the (virtual) environment and have the changes take effect immediately.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download