summaryrefslogtreecommitdiffstats
path: root/GUI
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2023-03-28 16:07:20 -0700
committeryum <yum.food.vr@gmail.com>2023-03-28 16:15:17 -0700
commitd8c1343a3a963139868ec5e090d191a201ba1671 (patch)
tree716b491ba63731b9acb49c6152d1cbc9208c62da /GUI
parentd58d36d9ef533b526d33c511526d6e481d243c96 (diff)
Vendor pip and future
This dependency fails to install with the embedded python, so now it's vendored. Installing pip after wheel would result in wheel reinstalling, so we also vendor pip.
Diffstat (limited to 'GUI')
-rw-r--r--GUI/package.ps16
1 files changed, 6 insertions, 0 deletions
diff --git a/GUI/package.ps1 b/GUI/package.ps1
index 5f15259..7e0eace 100644
--- a/GUI/package.ps1
+++ b/GUI/package.ps1
@@ -32,6 +32,12 @@ if (-Not (Test-Path $py_dir)) {
echo "../Scripts" >> Python/python310._pth
echo "import site" >> Python/python310._pth
+
+ ./Python/python.exe Python/get-pip.py
+
+ echo "Installing future"
+ echo "Assuming host has python 3.10.9 installed" # TODO test for this
+ python -m pip install future==0.18.2 --target Python/Lib/site-packages
}
$pip_path = "$py_dir/get-pip.py"