Skip to content
Snippets Groups Projects
Commit a63c4544 authored by Pierre Augier's avatar Pierre Augier
Browse files

FLUIDPYTHRAN_DIR = FLUIDSIM_PATH if FLUIDSIM_PATH is set

parent fd70e6da
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@
For a **basic installation** it should be sufficient to run::
pip install fluiddyn fluidpythran [--user]
pip install fluiddyn [--user]
pip install fluidsim [--user]
Add ``--user`` flag if you are installing without setting up a virtual
......@@ -66,7 +66,7 @@
4. `A C++11 compiler and BLAS
libraries <https://github.com/serge-sans-paille/pythran#installation>`__ and
`configure
<https://fluidsim.readthedocs.io/en/latest/install.html#dependencies>`__
<https://fluidsim.readthedocs.io/en/latest/install.html#dependencies>`__
``~/.pythranrc`` to customize compilation of Pythran extensions
5. `Configure
<https://fluidfft.readthedocs.io/en/latest/install.html#basic-installation-with-pip>`__
......@@ -130,4 +130,3 @@
french license.
.. _CeCILL: http://www.cecill.info/index.en.html
......@@ -27,6 +27,11 @@
import os
import sys
if "FLUIDSIM_PATH" in os.environ:
os.environ["FLUIDPYTHRAN_DIR"] = str(
Path(os.environ["FLUIDSIM_PATH"] / ".fluidpythran")
)
if any(
any(test_tool in arg for arg in sys.argv)
for test_tool in ("pytest", "unittest", "fluidsim-test")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment