Joachim M. Giæver 3 éve
szülő
commit
e776fe5da5
1 módosított fájl, 5 hozzáadás és 5 törlés
  1. 5 5
      snap/snapcraft.yaml

+ 5 - 5
snap/snapcraft.yaml

@@ -153,13 +153,12 @@ parts:
       - setuptools<58
       - wheel
       - Cython
-      - pip
+    build-environment:
+      - SNAPCRAFT_PYTHON_VENV_ARGS: --upgrade
     build-packages:
       - python3
       - python3-dev
-      - python3-pip
-      # - python3-setuptools
-      # - python3-wheel
+        #- python3-pip
       - pkg-config
       - autoconf
       - build-essential
@@ -202,7 +201,8 @@ parts:
     constraints:
       - homeassistant/package_constraints.txt
     override-build: |
-      python3 -m pip install -U setuptools
+      #python3 -m pip install -U setuptools
+      #/root/parts/homeassistant/install/bin/python3 -m pip install --upgrade pip
       snapcraftctl build
       sed -i 's/include-system-site-packages = false/include-system-site-packages = true/g' $SNAPCRAFT_PART_INSTALL/pyvenv.cfg
     # override-stage: |