Skip to content

Commit

Permalink
Installation: venv -> .venv
Browse files Browse the repository at this point in the history
  • Loading branch information
hmaerki committed Feb 24, 2025
1 parent 3be1127 commit 6d2819e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 5 deletions.
22 changes: 21 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "pytest",
"type": "debugpy",
"request": "launch",
"module": "pytest",
"cwd": "${workspaceFolder}",
"args": [
// "--collect-only",
// "-q",
"-s",
"-v",
// "--firmware=https://github.com/dpgeorge/micropython.git@rp2-add-rp2350",
"tests/test_simple.py::test_i2c",
],
"console": "integratedTerminal",
"env": {
"PYDEVD_DISABLE_FILE_VALIDATION": "1"
},
"justMyCode": false,
},
{
"name": "pytest --firmware=xyz.git",
"type": "debugpy",
Expand All @@ -16,7 +36,7 @@
"-s",
"-v",
// "--firmware=https://github.com/dpgeorge/micropython.git@rp2-add-rp2350",
"--firmware=https://github.com/micropython/micropython.git@master",
"--firmware=https://github.com/micropython/micropython.git@v1.24.1",
"tests/test_simple.py::test_i2c",
],
"console": "integratedTerminal",
Expand Down
6 changes: 3 additions & 3 deletions docs/installation/10_ubuntu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ python
uv python install 3.13.1
uv venv --python 3.13.1 --prompt=testbed_showcase ~/testbed_showcase/venv
uv venv --python 3.13.1 --prompt=testbed_showcase ~/testbed_showcase/.venv
source ~/testbed_showcase/venv/bin/activate
source ~/testbed_showcase/.venv/bin/activate
uv pip install -e ~/testbed_showcase
echo 'source ~/testbed_showcase/venv/bin/activate' >> ~/.profile
echo 'source ~/testbed_showcase/.venv/bin/activate' >> ~/.profile
# Log out and in again
Software requiring elevated access
Expand Down
1 change: 0 additions & 1 deletion testbed_showcase.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"ruff.enable": true,
"ruff.fixAll": true,
"ruff.lint.enable": true,
"ruff.lint.run": "onSave",
"mpremote.srcSubdirectory": "src",
"python.testing.pytestArgs": [
"-v",
Expand Down

0 comments on commit 6d2819e

Please sign in to comment.