[SOLVED] Using wapt-get
Published: June 3, 2024 - 4:53 PM
Good morning,
I would prefer to avoid using PyScripter for modifying installation packages during their creation.
My idea is therefore to modify the setup.py file with Notepad++ or VsCode and launch the Run commands (install, remove, etc. which are located under "Run Configuration" in PyScripter) in a Terminal.
And it is on this second point that I have a problem.
Looking at the configuration of a Run command, let's say "install" for example, I understand that it simulates sending a command:
To avoid having to install a Python environment on my machine, I thought I could run the following command:
Assuming that wapt-get (which I imagine calls wapt-get.exe) did the same thing as wapt-get.py.
I made this assumption because running the "wapt-get" command does indeed give me the list of possible actions (install, remove, etc.)
But when I run this command, I get the message
At this prompt, I enter the username I use to log in to the WAPT console and I immediately get the following error:
If someone could help me better understand how this works, I would appreciate it. Thanks in advance.
I would prefer to avoid using PyScripter for modifying installation packages during their creation.
My idea is therefore to modify the setup.py file with Notepad++ or VsCode and launch the Run commands (install, remove, etc. which are located under "Run Configuration" in PyScripter) in a Terminal.
And it is on this second point that I have a problem.
Looking at the configuration of a Run command, let's say "install" for example, I understand that it simulates sending a command:
Code: Select all
> wapt-get.py install "Repertoire\ou\se\trouve\setup.py"Code: Select all
> wapt-get install "Repertoire\ou\se\trouve\setup.py"I made this assumption because running the "wapt-get" command does indeed give me the list of possible actions (install, remove, etc.)
But when I run this command, I get the message
Code: Select all
About to speak to waptservice...
Waptservice User :
Code: Select all
About to speak to waptservice...
Waptservice User :seb
Exception at 00CCF48A: EHTTPException:
401 Client Error: Missing auth for url: http://127.0.0.1:8088/install.json?notify_user=1&package=C:\waptdev\pilote-thunderbird_18.05_Windows_PROD-wapt.