File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -5,17 +5,36 @@ pymt_heatf
5
5
This is an example of building a model,
6
6
written in Fortran and wrapped in Python with the `babelizer <https://github.com/csdms/babelizer >`_,
7
7
with the `meson-python <https://meson-python.readthedocs.io/en/latest/ >`_ build system
8
- using a `` pyproject.toml `` file to describe the build.
8
+ using a * pyproject.toml * file to describe the build.
9
9
10
10
Build/Install
11
11
-------------
12
12
13
13
This is a sketch of how to build and install this project.
14
14
15
- 1. Create the conda environment from `environment.yml ` and activate it
15
+ With conda
16
+ ..........
17
+
18
+ 1. Create a conda environment from the *environment.yml * file and activate it
16
19
2. Build/install the `Fortran BMI example <https://github.com/csdms/bmi-example-fortran/#buildinstall >`_
17
20
3. Build/install this project with ``make install ``
18
21
22
+ With pip
23
+ ........
24
+
25
+ Make, CMake, and a Fortran compiler are required.
26
+
27
+ 1. Create a virtual environment
28
+ 2. Build/install the `Fortran BMI specification <https://github.com/csdms/bmi-fortran/#buildinstall >`_ (it's not installable through ``pip ``)
29
+ 3. Build/install the `Fortran BMI example <https://github.com/csdms/bmi-example-fortran/#buildinstall >`_
30
+ 4. Install the build system requirements through ``pip ``:
31
+
32
+ .. code-block :: bash
33
+
34
+ $ pip install meson-python meson ninja cython numpy bmipy
35
+
36
+ 5. Build/install this project with ``make install ``
37
+
19
38
Use
20
39
---
21
40
You can’t perform that action at this time.
0 commit comments