Skip to content

Commit de94027

Browse files
Call previous stubgen correctly
1 parent c5c897c commit de94027

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

build-bindings-job.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ jobs:
156156
- bash: |
157157
micromamba activate cpp-py-bindgen && \
158158
cd build && \
159-
python -m pybind11_stubgen OCP -o . --root-suffix stubs && \
159+
python -m pybind11_stubgen -o . OCP && \
160+
rm -rf OCP-stubs/setup.py OCP-stubs/__pycache__ OCP-stubs/MANIFEST.in && \
160161
cp -r "../../$(OCP_src)" ../upload && \
161-
mv OCPstubs OCP-stubs &&\
162162
cp -r OCP-stubs ../upload/
163163
displayName: 'Generate stubs and prepare for upload'
164164

0 commit comments

Comments
 (0)