Skip to content

Commit d595a4a

Browse files
updates
1 parent d89d881 commit d595a4a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ guide`_. You will need to follow these steps:
8080
.. code:: bash
8181
8282
# Create a virtual environment
83-
python -m venv .venv
83+
python -m uv venv .venv
8484
8585
# Activate it in a POSIX system
8686
source .venv/bin/activate
@@ -107,7 +107,7 @@ guide`_. You will need to follow these steps:
107107

108108
.. code:: bash
109109
110-
pytest tests -v
110+
uv run pytest tests -v
111111
112112
113113
Style and testing
@@ -141,7 +141,7 @@ If you need to run it again on all files and not just staged files, run:
141141

142142
.. code::
143143
144-
pre-commit run --all-files
144+
uv run pre-commit run --all-files
145145
146146
147147
Local build
@@ -166,7 +166,7 @@ For building documentation, you can either run the usual rules provided in the
166166
.. code:: bash
167167
168168
uv pip install -e .[doc]
169-
make -C doc/ html
169+
uv run make -C doc/ html
170170
171171
# subsequently open the documentation with (under Linux):
172172
<your_browser_name> doc/html/index.html

src/ansys/tools/installer/linux_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def install_python_linux(filename):
133133
file = file.replace(".tar.xz", "")
134134
file = file.lower()
135135
execute_linux_command(
136-
f"cd {untar_dirname};mkdir -p {ansys_linux_path}/{file};make clean;./configure --prefix={ansys_linux_path}/{file};make;make install"
136+
f"cd {untar_dirname};mkdir -p {ansys_linux_path}/{file};make clean;./configure --prefix={ansys_linux_path}/{file};make;make install;cp {ansys_linux_path}/{file}/bin/python3 {ansys_linux_path}/{file}/bin/python"
137137
)
138138
os.chdir(cwd)
139139
return 0

0 commit comments

Comments
 (0)