Skip to content

Commit a387e6f

Browse files
authored
Merge pull request #202 from ndem0/readme
update installation phase in the readme
2 parents 5994202 + c9445e9 commit a387e6f

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

README.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,21 @@ See the [**Examples**](#examples) section below and the [**Tutorials**](tutorial
5050

5151

5252
## Dependencies and installation
53-
**PyGeM** requires `numpy`, `scipy`, `matplotlib`, `vtk`, `numpy-stl`, `sphinx` (for the documentation) and `nose` (for local test). They can be easily installed via `pip`. The code is compatible with Python 2.7 and Python 3.6.
54-
Moreover **PyGeM** depends on `OCC`. These requirements cannot be satisfied through `pip`.
55-
Please see the table below for instructions on how to satisfy the `OCC` requirements. You can also refer to `pythonocc.org` or `github.com/tpaviot/pythonocc-core` for further instructions.
56-
57-
| Package | Version | How to install (precompiled binaries via conda) |
58-
|---------|-------------|----------------------------------------------------------------------------------------------------------|
59-
| OCC | ==0.17.3 | Python2.7 `conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.17 python=2.7` |
60-
| OCC | ==0.17.3 | Python3.6 `conda install -c conda-forge -c dlr-sc -c pythonocc -c oce pythonocc-core==0.17 python=3.6` |
53+
**PyGeM** requires `numpy`, `scipy`, `matplotlib`, `sphinx` (for the
54+
documentation) and `nose` (for local test). They can be easily installed via
55+
`pip`. The code has been tested with Python3.7 version, but it should be
56+
compatible with Python3. The Python2 support is no longer maintained.
57+
To enable the `CAD`
58+
[submodule](https://github.com/mathLab/PyGeM/tree/master/pygem/cad), the
59+
module `pythonocc-core` is required to deal with IGES files. This requirement
60+
cannot be satisfied through `pip`, but the precompiled binaries are available
61+
on `conda` using the command:
62+
```bash
63+
conda install -c conda-forge pythonocc-core=7.4.0
64+
```
65+
For additional information about the compilation and installation of
66+
`pythonocc`, we refer the original
67+
[repository](https://github.com/tpaviot/pythonocc-core).
6168

6269

6370
The official distribution is on GitHub, and you can clone the repository using

0 commit comments

Comments
 (0)