File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -48,23 +48,24 @@ conda install -c conda-forge fortran-compiler --file PySolid/requirements.txt --
48
48
conda create --name pysolid fortran-compiler --file PySolid/requirements.txt --file PySolid/tests/requirements.txt
49
49
conda activate pysolid
50
50
51
- # option 3: have a Fortran compiler already installed and use pip to install the rest dependencies
51
+ # option 3: have a Fortran compiler already installed and use pip to install the dependencies
52
52
python -m pip install -r PySolid/requirements.txt -r PySolid/tests/requirements.txt
53
53
```
54
54
55
55
##### c. Install PySolid
56
56
57
57
``` bash
58
58
# option 1: use pip to install pysolid into the current environment
59
- python -m pip install PySolid
59
+ python -m pip install ./ PySolid
60
60
61
61
# option 2: use pip to install pysolid in develop mode (editable) into the current environment
62
- python -m pip install -e PySolid
62
+ python -m pip install -e ./ PySolid
63
63
64
64
# option 3: manually compile the Fortran code and setup environment variable
65
65
cd PySolid/src/pysolid
66
66
f2py -c -m solid solid.for
67
- export PYTHONPATH=${PYTHONPATH} :~ /tools/PySolid
67
+ # Replace <path-to-folder> with proper path to PySolid main folder
68
+ export PYTHONPATH=${PYTHONPATH} :< path-to-folder> /PySolid/src
68
69
```
69
70
70
71
##### d. Test the installation
You can’t perform that action at this time.
0 commit comments