This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

Commit 4af6eae1 authored by Pierre Augier's avatar Pierre Augier
Browse files


parent 7cc6437cc692
......@@ -15,6 +15,7 @@ FluidPythran: easily speedup your Python code with Pythran
:alt: Code coverage
.. warning ::
......@@ -109,6 +110,9 @@ Installation
pip install fluidpythran
The environment variable :code:`FLUIDPYTHRAN_DIR` can be set to control where
the cached files are saved.
A short tour of FluidPythran syntaxes
......@@ -319,7 +323,7 @@ like this:
here = Path(__file__).parent.absolute()
paths = ["fluidsim/base/time_stepping/"]
make_pythran_files([here / path for path in paths])
make_pythran_files([here / path for path in paths], mocked_modules=["h5py"])
Note that the function :code:`make_pythran_files` does not use Pythran.
Compiling the associated Pythran file can be done if wanted (see for example
......@@ -58,7 +58,10 @@ except ImportError:
from .pythranizer import ext_suffix, name_ext_from_path_pythran, make_hex
path_root = Path.home() / ".fluidpythran"
path_root = Path(
os.environ.get("FLUIDPYTHRAN_DIR", Path.home() / ".fluidpythran")
def get_module_name(frame):
name = fluidpythran
description = Pythran annotations in Python files
description = Easily speedup your Python code with Pythran
long_description = file: README.rst
keywords = pythran
license = CeCILL-B License
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment