File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,14 @@ git clone https://github.com/dapr/python-sdk.git
7979cd python-sdk
8080```
8181
82- 2 . Install a project in a editable mode
82+ 2 . Create and activate a virtual environment
83+
84+ ``` bash
85+ python3 -m venv .venv
86+ source .venv/bin/activate # On Windows: .venv\Scripts\activate
87+ ```
88+
89+ 3 . Install a project in editable mode
8390
8491``` bash
8592pip3 install -e .
@@ -90,31 +97,31 @@ pip3 install -e ./ext/dapr-ext-langgraph/
9097pip3 install -e ./ext/dapr-ext-strands/
9198```
9299
93- 3 . Install required packages
100+ 4 . Install required packages
94101
95102``` bash
96103pip3 install -r dev-requirements.txt
97104```
98105
99- 4 . Run linter and autofix
106+ 5 . Run linter and autofix
100107
101108``` bash
102109tox -e ruff
103110```
104111
105- 5 . Run unit-test
112+ 6 . Run unit-test
106113
107114``` bash
108115tox -e py311
109116```
110117
111- 6 . Run type check
118+ 7 . Run type check
112119
113120``` bash
114121tox -e type
115122```
116123
117- 7 . Run examples
124+ 8 . Run examples
118125
119126``` bash
120127tox -e examples
You can’t perform that action at this time.
0 commit comments