Skip to content

Commit e48681c

Browse files
committed
fix
1 parent 3e7e5ec commit e48681c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.readthedocs.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ build:
1010
- asdf install uv latest
1111
- asdf global uv latest
1212
- uv venv $READTHEDOCS_VIRTUALENV_PATH
13-
- ls -lR $READTHEDOCS_VIRTUALENV_PATH
1413
# Turn `python -m [pip|virtualenv]` into `python -c pass`
15-
- truncate --size 0 $READTHEDOCS_VIRTUALENV_PATH/lib/python3*/site-packages/pip.py
16-
- truncate --size 0 $READTHEDOCS_VIRTUALENV_PATH/lib/python3*/site-packages/virtualenv.py
14+
- truncate --size 0 $( ls -d $READTHEDOCS_VIRTUALENV_PATH/lib/python3* )/site-packages/{pip,virtualenv}.py
1715
post_create_environment:
1816
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH uv pip install -n --upgrade sphinx
1917
post_install:

0 commit comments

Comments
 (0)