Skip to content

Commit 9149c36

Browse files
cicoylesicoyle
andcommitted
add venv (dapr#921)
Signed-off-by: Cassandra Coyle <cassie@diagrid.io> Co-authored-by: Sam <sam@diagrid.io> Signed-off-by: Samantha Coyle <sam@diagrid.io>
1 parent 7f444a0 commit 9149c36

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,14 @@ git clone https://github.com/dapr/python-sdk.git
7979
cd 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
8592
pip3 install -e .
@@ -90,31 +97,31 @@ pip3 install -e ./ext/dapr-ext-langgraph/
9097
pip3 install -e ./ext/dapr-ext-strands/
9198
```
9299

93-
3. Install required packages
100+
4. Install required packages
94101

95102
```bash
96103
pip3 install -r dev-requirements.txt
97104
```
98105

99-
4. Run linter and autofix
106+
5. Run linter and autofix
100107

101108
```bash
102109
tox -e ruff
103110
```
104111

105-
5. Run unit-test
112+
6. Run unit-test
106113

107114
```bash
108115
tox -e py311
109116
```
110117

111-
6. Run type check
118+
7. Run type check
112119

113120
```bash
114121
tox -e type
115122
```
116123

117-
7. Run examples
124+
8. Run examples
118125

119126
```bash
120127
tox -e examples

0 commit comments

Comments
 (0)