Add command to install pypi packages by pip#396
Conversation
958fb5b to
61ed285
Compare
|
I used the icon of PyPi for the command. I am not sure if we can use it. |
|
@chennes |
|
I think we probably shouldn't use the PyPI logo: we're basically a |
Ok, removed. |
|
This works fine as long as I apply #397 (oops). I notice there's no pip output to the console, though, which I thought was strange. Is that supposed to be happening? |
|
I did't remove any console output, and tried to keep the changes minimal. Let me check if I broke something |
|
What i can see is that pip output goes to log, not console? It was not changed. Edit: No, this is not the Issue. |
|
Wait, in my local env I get full pip output in the console: 13:27:57 Running pip with the following command:
13:27:57 /usr/bin/python3 -m pip --disable-pip-version-check install --target /devel/FreeCAD_pixi/var/AdditionalPythonPackages/py311 cowsay ladybug bawr --break-system-packages --constraint https://raw.githubusercontent.com/FreeCAD/Addons/refs/heads/main/Data/Python/3.11/constraints.txt
13:28:00 Collecting cowsay
13:28:00 Using cached cowsay-6.1-py3-none-any.whl.metadata (5.6 kB)
13:28:00 Collecting ladybug
13:28:00 Using cached ladybug-0.16.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (4.7 kB)
13:28:00 Collecting bawr
13:28:00 Using cached bawr-0.0.11-py3-none-any.whl.metadata (10 kB)
13:28:00 Collecting Pillow (from bawr)
13:28:00 Using cached pillow-12.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB)
13:28:00 Collecting rectpack (from bawr)
13:28:00 Using cached rectpack-0.2.2-py3-none-any.whl
13:28:00 Using cached cowsay-6.1-py3-none-any.whl (25 kB)
13:28:00 Using cached ladybug-0.16.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.7 MB)
13:28:00 Using cached bawr-0.0.11-py3-none-any.whl (33 kB)
13:28:00 Using cached pillow-12.2.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (7.1 MB)
13:28:00 Installing collected packages: rectpack, Pillow, ladybug, cowsay, bawr
13:28:00 Successfully installed Pillow-12.2.0 bawr-0.0.11 cowsay-6.1 ladybug-0.16.1 rectpack-0.2.2
13:28:00
13:28:00 Running pip with the following command:
13:28:00 /usr/bin/python3 -m pip --disable-pip-version-check list -o --path /devel/FreeCAD_pixi/var/AdditionalPythonPackages/py311
13:28:01 Running pip with the following command:
13:28:01 /usr/bin/python3 -m pip --disable-pip-version-check list --path /devel/FreeCAD_pixi/var/AdditionalPythonPackages/py311
13:28:01 Running pip with the following command:
13:28:01 /usr/bin/python3 -m pip --disable-pip-version-check list -o --path /devel/FreeCAD_pixi/var/AdditionalPythonPackages/py311
13:28:02 Running pip with the following command:
13:28:02 /usr/bin/python3 -m pip --disable-pip-version-check list --path /devel/FreeCAD_pixi/var/AdditionalPythonPackages/py311 |
for more information, see https://pre-commit.ci
|
Successfully created backport PR for |
2026-05-19.08-37-00.mp4
AddonManager code uses legacy patterns, so I tried to follow the style as much as possible to keep the changes minimal.