Skip to content

Commit a597834

Browse files
committed
add argparse to requirements and update README
1 parent 95ee064 commit a597834

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,13 @@ You can build `stdlib` using provided `fpm.toml`:
183183

184184
As `fpm` does not currently support `fypp` natively, `stdlib` now proposes a python script to preprocess and build it.
185185
This script enables modification of the different `fypp` macros available in `stdlib`. The preprocessed files will be dumped at `<current_folder>/temp/*.f90` or `*.F90`.
186-
You can use the following command line:
186+
187+
Make sure to install the dependencies from the `requirement.txt`
188+
```sh
189+
pip install --upgrade -r config/requirements.txt
190+
```
191+
192+
To build, you can use the following command line:
187193

188194
```sh
189195
python config/fypp_deployment.py
@@ -206,11 +212,6 @@ To see all the options:
206212
python config/fypp_deployment.py --help
207213
```
208214

209-
Dependencies can be intalled from the `requirement.txt`
210-
```sh
211-
pip install --upgrade -r config/requirements.txt
212-
```
213-
214215
**Note**: If you use a compiler different than GNU compilers, the script will try to catch it from the environment variables `FPM_FC`, `FPM_CC`, `FPM_CXX`.
215216

216217
**Option 2**: From the `stdlib-fpm` branch which has already been preprocessed with default macros:

config/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
fypp
2+
argparse
23
joblib

0 commit comments

Comments
 (0)