Skip to content

Commit 58af9ff

Browse files
committed
deploy: 6010a33
1 parent e89d739 commit 58af9ff

File tree

3 files changed

+28
-26
lines changed

3 files changed

+28
-26
lines changed

running.html

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,13 +1954,15 @@ <h3 id="setting-up-the-uv-python-environment">Setting up the UV Python Environme
19541954
<ul>
19551955
<li>
19561956
<p>Create the following directories </p>
1957-
</li>
1957+
<ul>
19581958
<li>
19591959
<p>C:\uv_env </p>
19601960
</li>
19611961
<li>
19621962
<p>C:\uv_env\uv_py</p>
19631963
</li>
1964+
</ul>
1965+
</li>
19641966
<li>
19651967
<p>Open Power Shell (normal user, no admin) </p>
19661968
</li>
@@ -1969,66 +1971,64 @@ <h3 id="setting-up-the-uv-python-environment">Setting up the UV Python Environme
19691971
</li>
19701972
<li>
19711973
<p>Run the following command </p>
1974+
<p><code>powershell -ExecutionPolicy ByPass -c {$env:UV_INSTALL_DIR = "C:\uv_env";irm https://github.com/astral-sh/uv/releases/latest/download/uv-installer.ps1 | iex}</code></p>
19721975
</li>
1973-
</ul>
1974-
<p><code>powershell -ExecutionPolicy ByPass -c {$env:UV_INSTALL_DIR = "C:\uv_env";irm https://astral.sh/uv/install.ps1 | iex}</code></p>
1975-
<ul>
19761976
<li>
19771977
<p>Close Power Shell </p>
19781978
</li>
19791979
<li>
19801980
<p>Under Environment Variables &gt; System variables (requires Admin) </p>
1981-
</li>
1981+
<ul>
19821982
<li>
19831983
<p>Add <strong>C:\uv_env</strong> to <strong><em>Path</em></strong> </p>
19841984
</li>
19851985
<li>
19861986
<p>Create new variable called <strong><em>UV_PYTHON_INSTALL_DIR</em></strong> and set to <strong>C:\uv_env\uv_py</strong></p>
19871987
</li>
1988+
</ul>
1989+
</li>
19881990
<li>
19891991
<p>Open Command Prompt (normal user, no admin) </p>
19901992
</li>
19911993
<li>
19921994
<p>Run the following command</p>
1993-
</li>
1994-
</ul>
19951995
<p><code>uv python install 3.10</code></p>
1996-
<ul>
1996+
</li>
19971997
<li>
19981998
<p>Under Environment Variables &gt; System variables (requires Admin) </p>
1999-
</li>
1999+
<ul>
20002000
<li>
20012001
<p>Create new variable called <strong><em>UV_PYTHON</em></strong> and set to path of python.exe from previous step’s installation </p>
20022002
<ul>
2003-
<li>Hint: in command prompt, run the following command for the exact path: </li>
2004-
</ul>
2003+
<li>
2004+
<p>Hint: in command prompt, run the following command for the exact path: </p>
20052005
<p><code>uv python find</code></p>
20062006
<ul>
20072007
<li>e.g., <em>C:\uv_env\uv_py\cpython-3.10.18-windows-x86_64-none\python.exe</em></li>
20082008
</ul>
20092009
</li>
2010+
</ul>
2011+
</li>
2012+
</ul>
2013+
</li>
20102014
<li>
20112015
<p>In command prompt, cd into C:\uv_env </p>
20122016
</li>
20132017
<li>
20142018
<p>Run the following commands (one at a time): </p>
2015-
</li>
2016-
</ul>
20172019
<p><code>mkdir asim_140</code></p>
20182020
<p><code>cd asim_140</code></p>
20192021
<p><code>echo 3.10 &gt; .python-version</code></p>
20202022
<p><code>uv init</code></p>
2021-
<ul>
2022-
<li>
2023-
<p>Open asim_140/pyproject.toml and edit the requires-python setting to: </p>
20242023
</li>
20252024
<li>
2026-
<p>requires-python = &ldquo;&gt;=3.10, &lt;3.11&rdquo; </p>
2025+
<p>Open asim_140/pyproject.toml and edit the requires-python setting to: </p>
2026+
<ul>
2027+
<li>requires-python = &ldquo;&gt;=3.10, &lt;3.11&rdquo; </li>
2028+
</ul>
20272029
</li>
20282030
<li>
20292031
<p>Back in command prompt (at C:\uv_env\asim_140), run one final command </p>
2030-
</li>
2031-
</ul>
20322032
<p><code>uv add -r requirements.txt</code></p>
20332033
<ul>
20342034
<li>
@@ -2043,22 +2043,24 @@ <h3 id="setting-up-the-uv-python-environment">Setting up the UV Python Environme
20432043
<li>Ensure it is the latest </li>
20442044
</ul>
20452045
</li>
2046+
</ul>
2047+
</li>
20462048
<li>
20472049
<p>Open command prompt as admin and run the following command: </p>
2048-
</li>
2049-
</ul>
20502050
<p><code>icacls C:\uv_env /reset /T</code></p>
20512051
<ul>
2052-
<li>
2053-
<p>In testing, we found that every time a package is added to a UV environment, the package files will not have permission for all users so the reset from above needs to be executed </p>
2052+
<li>In testing, we found that every time a package is added to a UV environment, the package files will not have permission for all users so the reset from above needs to be executed </li>
2053+
</ul>
20542054
</li>
20552055
<li>
20562056
<p>Under Environment Variables &gt; System variables (requires Admin) </p>
2057-
</li>
2057+
<ul>
20582058
<li>
20592059
<p>Create a new variable called <strong><em>activate_uv_asim</em></strong> and set to the path of asim_140’s activate file </p>
20602060
<ul>
2061-
<li>E.g., C:\uv_env\asim_140.venv\Scripts\activate </li>
2061+
<li>E.g., C:\uv_env\asim_140\.venv\Scripts\activate </li>
2062+
</ul>
2063+
</li>
20622064
</ul>
20632065
</li>
20642066
</ul>

search/search_index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

sitemap.xml.gz

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)