You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 77059ce
Browse filesBrowse the repository at this point in the historyBrowse files
Run the `uv sync` command to create a virtual environment using the lockfile. It will initialize a virtual environment within the `activitysim` directory
243
+
Run the `uv sync --locked` command to create a virtual environment using the lockfile. It will initialize a virtual environment within the `activitysim` directory
244
244
and install ActivitySim and all its dependencies exactly as specified in the `uv.lock` file.
245
245
The virtual environment is a hidden folder within the current directory called
246
246
`.venv` and operates the same way as Python's classic *venv*.
247
247
248
248
::
249
249
250
-
uv sync
251
-
# or uv sync --no-editable
250
+
uv sync --locked
251
+
# or uv sync --locked --no-editable
252
252
253
253
It is worth pointing out that by default, *uv* installs projects in
254
254
editable mode, such that changes to the source code are immediately reflected
@@ -344,10 +344,10 @@ How to share my working environment with others?
344
344
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
345
345
You can share your working environment with others by sharing the `uv.lock` file located in your project directory.
346
346
This file contains the exact versions of all packages and dependencies used in your project.
347
-
Others can recreate the same environment by running the `uv sync` command in a new project directory containing the shared `uv.lock` file.
347
+
Others can recreate the same environment by running the `uv sync --locked` command in a new project directory containing the shared `uv.lock` file.
348
348
::
349
349
# Copy uv.lock file to new project directory
350
-
uv sync
350
+
uv sync --locked
351
351
352
352
If I use the From PyPI option to install ActivitySim, would I run into dependency issues?
0 commit comments