|
@@ -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: |
|