Merge pull request #7934 from tekktrik/fix/venv-bug

Fix creating virtual environment for stub creation
This commit is contained in:
Jeff Epler 2023-05-05 09:29:04 -05:00 committed by GitHub
commit 5c857209fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/bin/sh -e #!/bin/sh -e
rm -rf test-stubs rm -rf test-stubs
python3 -mvenv test-stubs python3 -m venv test-stubs
. test-stubs/bin/activate . test-stubs/bin/activate
pip install mypy isort black adafruit-circuitpython-typing wheel pip install mypy isort black adafruit-circuitpython-typing wheel
rm -rf circuitpython-stubs .mypy_cache rm -rf circuitpython-stubs .mypy_cache