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