We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 906d240 commit c2dd64fCopy full SHA for c2dd64f
1 file changed
content/packaging.rst
@@ -142,7 +142,29 @@ Exercise 1
142
To test a local pip install:
143
144
- Create a new folder outside of our example project
145
- - Create a new virtual environment (:ref:`dependency_management`)
+ - Create a new virtual environment and activate it (more on this in :ref:`dependency_management`)
146
+
147
+ .. hint:: To create and activate a virtual environment
148
+ :class: dropdown
149
150
+ .. tabs::
151
152
+ .. tab:: Unix/macOS
153
154
+ .. code-block:: bash
155
156
+ python -m venv .venv
157
+ source .venv/bin/activate
158
+ which python
159
160
+ .. tab:: Windows
161
162
+ .. code-block:: bat
163
164
165
+ .venv\Scripts\activate
166
+ where python
167
168
- Install the example package from the project folder
169
into the new environment::
170
0 commit comments