Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding MOAB to package via git pip install #120

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/workflows/ci_with_pip_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ jobs:
apt install python3
apt install python3-pip
python -m pip install --upgrade pip
git clone --single-branch -b master --depth 1 https://bitbucket.org/fathomteam/moab/
cd moab
python -m pip install . --config-settings=cmake.args=-DENABLE_HDF5=ON
cd ..
python -c "import pymoab"
python -m pip install .[tests]
python -c "import cad_to_dagmc"
pytest -v tests
Expand Down
17 changes: 0 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,23 +102,6 @@ First ensure hdf5 is installed as this is needed by MOAB pip install command
sudo apt-get install libhdf5-dev
```

Then clone the latest version of MOAB and cd into the moab directory.

```
git clone master https://bitbucket.org/fathomteam/moab/
cd moab
```

Ensure pip is up to date as a new version is needed
```
python -m pip install --upgrade pip
```

Run the pip install command with cmake arguments.
```
pip install . --config-settings=cmake.args=-DENABLE_HDF5=ON
```

Then you can install the cad_to_dagmc package with ```pip```

```bash
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ dependencies = [
"networkx",
"cadquery>=2.5.2",
"numpy",
"gmsh"
"gmsh",
"pymoab @ git+https://bitbucket.org/moab-fork/moab@8595d997d4ecabf0e676569d59b57b4ba5cd2a42",
]
dynamic = ["version"]

Expand Down
Loading