File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ jobs:
121121 - name : Build SDist
122122 working-directory : ./bindings/python
123123 run : |
124+ export LIBBSON_INSTALL_DIR=$(pwd)/libbson
124125 just build-libbson
125126 python -m build --sdist .
126127
Original file line number Diff line number Diff line change @@ -36,6 +36,13 @@ echo "MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET}"
3636echo " CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES} "
3737echo " LIBBSON_INSTALL_DIR=${LIBBSON_INSTALL_DIR} "
3838
39+ # Activate the virtualenv for the cmake build.
40+ if [ -f $( pwd) /.venv/Scripts ]; then
41+ . $( pwd) /.venv/Scripts/activate
42+ else
43+ . $( pwd) /.venv/bin/activate
44+ fi
45+
3946# Build libbson
4047pushd " $WORKDIR "
4148 git checkout " $LIBBSON_VERSION "
Original file line number Diff line number Diff line change @@ -28,17 +28,17 @@ test *args:
2828
2929lint :
3030 uv sync --no-install-project --dev
31- uv run --no-build pre-commit run --hook-stage manual --all-files
32- uv run --no-build check-manifest -v
31+ uv run --no-project pre-commit run --hook-stage manual --all-files
32+ uv run --no-project check-manifest -v
3333
3434docs :
3535 uv sync --no-install-project --group docs
36- uv run --no-build sphinx-build -T -b html {{ sphinx_opts}} {{ docs_build}} / html
36+ uv run --no-project sphinx-build -T -b html {{ sphinx_opts}} {{ docs_build}} / html
3737
3838docs-serve :
3939 uv sync --no-install-project --group docs --group dev
40- urn run --no-build sphinx-autobuild --watch ./ pymongoarrow docs {{ docs_build}} / html
40+ urn run --no-project sphinx-autobuild --watch ./ pymongoarrow docs {{ docs_build}} / html
4141
4242docs-linkcheck * args :
4343 uv sync --no-install-project --group docs
44- PYTHONHASHSEED=0 uv run --no-build python -m sphinx -q -b linkcheck docs {{ docs_build}} / linkcheck {{ args}}
44+ PYTHONHASHSEED=0 uv run --no-project python -m sphinx -q -b linkcheck docs {{ docs_build}} / linkcheck {{ args}}
You can’t perform that action at this time.
0 commit comments