From 86559c6eb86c11202aac13c8285ff682164f7a13 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Tue, 8 Mar 2022 14:14:40 -0800 Subject: [PATCH] github/workflows: update the darwin build for setuptools Signed-off-by: David Aguilar --- .github/workflows/main.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 30b20f01..fa28327d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -140,16 +140,23 @@ jobs: - name: Install Dependencies run: | + set -x brew install sphinx-doc brew install git-cola + $(brew --prefix python3)/bin/python3 -m venv --system-site-packages env + source env/bin/activate + make requirements-dev + export SETUPTOOLS_USE_DISTUTILS=stdlib + make develop - name: Build Bundle run: | + set -x + source env/bin/activate + export SETUPTOOLS_USE_DISTUTILS=stdlib mkdir build make \ - PYTHON=$(brew --prefix python3)/bin/python3 \ - PYTHON_CONFIG=$(brew --prefix python3)/bin/python3-config \ - SPHINXBUILD=$(brew --prefix sphinx-doc)/bin/sphinx-build \ + PYTHON_CONFIG=python3-config \ git-cola.app mv git-cola.app build/ -- 2.11.4.GIT