@@ -16,7 +16,7 @@ assumes the user is more experienced in running travel demand models and profici
1616used ActivitySim or has not used recent versions of ActivitySim. More detailed instructions for installing
1717and running ActivitySim are also available in this Users Guide.
1818
19- * Use the :ref: `Pre -packaged Installer `
19+ * Use the :ref: `pre -packaged installer `
2020* :ref: `Run the Primary Example `
2121* Placeholder (Edit model input files, configs, as needed)
2222
@@ -88,9 +88,12 @@ Installing ActivitySim
8888
8989There are two recommended ways to install ActivitySim:
9090
91- 1. Using a :ref: `Pre -packaged Installer ` (recommended for users who do not need to change the Python code)
91+ 1. Using a :ref: `pre -packaged installer `
9292
93- 2. Using a :ref: `Python the uv package and project manager ` (recommended for users who need to change/customize the Python code)
93+ 2. Using a :ref: `Python the uv package and project manager `
94+
95+ The first is recommended for users who do not need to change the Python code and are on Windows,
96+ and the second is recommended for users who need to change/customize the Python code.
9497
9598
9699Pre-packaged Installer
@@ -130,12 +133,14 @@ environment management including installation and management of Python
130133versions and dependency locking. The steps involved are described as follows:
131134
1321351. Install *uv *. Instructions can be found
133- `here <https://docs.astral.sh/uv/getting-started/installation/> `.
136+ `here <https://docs.astral.sh/uv/getting-started/installation/ >`_ .
134137
1351382. Clone the ActivitySim project using Git. (If Git is not installed,
136- instructions can be found `here <https://git-scm.com/downloads> `.)
139+ instructions can be found `here <https://git-scm.com/downloads >`_.)
140+
141+ ::
137142
138- git clone https://github.com/ActivitySim/activitysim.git
143+ git clone https://github.com/ActivitySim/activitysim.git
139144 cd activitysim
140145
1411463. Optionally create the virtual environment. This is created automatically
@@ -146,25 +151,33 @@ want to install the project in a non-editable mode so that users on
146151your machine cannot accidentally change the source code, use the
147152`--no-editable ` option.)
148153
154+ ::
155+
149156 uv sync --no-editable
150157
1511584. Run an ActivitySim command using the following. (This will automatically
152159create a virtual environment from the lockfile, if it does not already
153160exist.)
154161
162+ ::
163+
155164 uv run ...
156165
157166For example, run the ActivitySim commandline using the following, which
158167makes sure the code is run within the correct (locked) Python environment.
159168More information about the commandline interface is available in
160169the :ref: `Ways to Run the Model ` section.
161170
171+ ::
172+
162173 uv run activitysim run -c configs -o output -d data
163174
164175If you want to run ActivitySim from a directory different than where the
165176code lives, use the `project ` option to point *uv * to this project using
166177relative paths:
167178
179+ ::
180+
168181 uv run --project relative/path/to/activitysim/code activitysim run -c configs -o output -d data
169182
170183For more on *uv *, visit https://docs.astral.sh/uv/.
0 commit comments