Skip to content

Commit 103f980

Browse files
committed
cleanup
1 parent 5bf7f29 commit 103f980

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ build:
1212
- cd bindings/python && uv sync --no-install-project --group docs
1313
build:
1414
html:
15-
- cd bindings/python && uv run sphinx-build -c docs/source -T -b html docs $READTHEDOCS_OUTPUT/html
15+
- cd bindings/python && uv run --no-project sphinx-build -c docs/source -T -b html docs $READTHEDOCS_OUTPUT/html

bindings/python/build-libbson.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ echo "CMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}"
3737
echo "LIBBSON_INSTALL_DIR=${LIBBSON_INSTALL_DIR}"
3838

3939
# Activate the virtualenv for the cmake build.
40-
ls .
41-
ls .venv
42-
if [ -f $(pwd)/.venv/Scripts ]; then
43-
. $(pwd)/.venv/Scripts/activate
40+
if [ -d $(pwd)/.venv/Scripts ]; then
41+
. "$(pwd)/.venv/Scripts/activate"
4442
else
45-
. $(pwd)/.venv/bin/activate
43+
. "$(pwd)/.venv/bin/activate"
4644
fi
4745

4846
# Build libbson

0 commit comments

Comments
 (0)