@@ -12,7 +12,7 @@ Download and Install
1212 Ensure you have the following dependencies installed
1313 in your development environment:
1414
15- - `Python3 version 3.7 or later <https://www.python.org/downloads/>`__
15+ - `Python3 version 3.8 or later <https://www.python.org/downloads/>`__
1616 - `pip <https://pip.pypa.io/en/stable/installation/>`__
1717 - `dnspython <https://pypi.org/project/dnspython/>`__
1818
@@ -25,28 +25,49 @@ Download and Install
2525
2626 mkdir pymongo-quickstart
2727
28- Run the following command to navigate into the project
29- directory:
28+ Select the tab corresponding to your operating system and run the following commands
29+ to create a ``quickstart.py`` application file in the ``pymongo-quickstart`` directory:
3030
31- .. code-block:: bash
31+ .. tabs::
3232
33- cd pymongo-quickstart
33+ .. tab:: macOS / Linux
34+ :tabid: create-file-mac-linux
3435
35- Run the following command to create a file to contain your application:
36+ .. code-block:: bash
3637
37- .. code-block:: bash
38+ cd pymongo-quickstart
39+ touch quickstart.py
40+
41+ .. tab:: Windows
42+ :tabid: create-file-windows
3843
39- touch quickstart.py
44+ .. code-block:: bash
45+
46+ cd pymongo-quickstart
47+ type nul > quickstart.py
4048
4149 .. step:: Install {+driver-short+}
4250
43- Run the following commands in your shell to create and activate a virtual
44- environment in which to install the driver:
51+ Select the tab corresponding to your operating system and run the following commands
52+ to create and activate a virtual environment in which to install the driver:
4553
46- .. code-block:: bash
54+ .. tabs::
55+
56+ .. tab:: macOS / Linux
57+ :tabid: venv-mac-linux
58+
59+ .. code-block:: bash
60+
61+ python3 -m venv venv
62+ source venv/bin/activate
63+
64+ .. tab:: Windows
65+ :tabid: venv-windows
66+
67+ .. code-block:: bash
4768
48- python3 -m venv venv
49- source venv/bin/ activate
69+ python3 -m venv venv
70+ . venv\Scripts\ activate
5071
5172 With the virtual environment activated, run the following command to
5273 install the current version of {+driver-short+}:
0 commit comments