Skip to content

Commit e8c94b8

Browse files
committed
environment for linux
1 parent f791a01 commit e8c94b8

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,25 @@ COMPAS friendly interface for Gmsh.
1010
## Installation
1111

1212
```bash
13-
conda create -n gmsh -c conda-forge compas
14-
conda activate gmsh
1513
pip install compas_gmsh
1614
```
1715

16+
### Linux
17+
18+
On linux, you may have to install gmsh and it's python bindings manually.
19+
20+
```bash
21+
conda create -n gmsh-dev gmsh python-gmsh -y
22+
conda activate gmsh-dev
23+
pip install compas_gmsh
24+
```
25+
26+
Or use the environment file in this repo
27+
28+
```bash
29+
conda env create -f environment-linux.yml
30+
```
31+
1832
## Getting Started
1933

2034
Have a look at some of the first [examples in the documentation](https://compas.dev/compas_gmsh/latest/examples.html).

environment-linux.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: gmsh-dev
2+
channels:
3+
- conda-forge
4+
dependencies:
5+
- python
6+
- pip
7+
- gmsh
8+
- python-gmsh
9+
- pip:
10+
- compas

0 commit comments

Comments
 (0)