Page 1 of 1

tis-pyscripter: “Run Configuration”?

Published: October 17, 2018 - 5:13 PM
by Jonattend
Hello, :)

I've been using WAPT for a while now with satisfaction. :D

Despite my research, I haven't found the answer in the documentation: in PyScripter, under Run Configurations, what is the difference between "remove" and "uninstall"?

Also, what is the purpose of "update", "upgrade", "svn update", and "update-packages-sources"?

Thank you for your help. ;)

Re: tis-pyscripter: "Run Configuration"?

Published: October 17, 2018 - 5:34 PM
by htouvet
The `remove` function uninstalls the software using the `uninstallkey` key and then executes the `uninstall()` function from `setup.py` to complete the process. The `uninstall()` code that is executed is the one stored in the database at the time of installation.

`uninstall` only executes the `uninstall()` function from `setup.py`. This is a convenience in development mode to avoid having to reinstall the software when debugging the `uninstall()` function.
The code executed (by PyScript) is the one found in the `setup.py` file.

Re: tis-pyscripter: "Run Configuration"?

Published: October 18, 2018 - 10:09 AM
by Jonattend
Hello,
thank you for the clarification. :)

And what about the other options?
- update
- upgrade
- svn update
- update-packages-sources

Thank you :mrgreen:

Re: tis-pyscripter: "Run Configuration"?

Published: October 20, 2018 - 09:34
by dcardon
Jonattend wrote: Oct 18, 2018 - 10:09 AM Hello,
Thank you for the clarification :)

. And what about the other options?
For each of the "Run Configurations", you can right-click and choose "Edit Run Configuration" to see what will be launched.
  • update -> launches a wapt-get update (not directly necessary for package editing, it does the same thing as if you launched it from the command line in a cmd.exe)
  • upgrade -> launch wapt-(get upgrade (same as above)
  • `svn update` -> Historically, packages were versioned in SVN; this command initiates an `svn checkout` if the checkout URL has been configured in the control file
Sincerely,

Denis