Commit 3e5dd94d authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Fix regressions in setup.sh

parent e862b9aa
......@@ -95,6 +95,20 @@ unix/linux systems. It can be installed on MacOS with homebrew:
brew install libmagic
```
### Install nomad
Finally, you can add nomad to the environment itself (including all extras).
The `-e` option will install the NOMAD with symbolic links allowing you
to change the code without having to reinstall after each change.
```sh
pip install -e .[all]
```
If pip tries to use and compile sources and this creates errors, it can be told to prefer binary version:
```sh
pip install -e .[all] --prefer-binary
```
### Install sub-modules
Nomad is based on python modules from the NOMAD-coe project.
This includes parsers, python-common and the meta-info. These modules are maintained as
......@@ -118,18 +132,6 @@ to install set packages manually.
The `-e` option will install the NOMAD-coe dependencies with symbolic links allowing you
to change the downloaded dependency code without having to reinstall after.
### Install nomad
Finally, you can add nomad to the environment itself (including all extras)
```sh
pip install -e .[all]
```
If pip tries to use and compile sources and this creates errors, it can be told to prefer binary version:
```sh
pip install -e .[all] --prefer-binary
```
### Generate GUI artifacts
The NOMAD GUI requires static artifacts that are generated from the NOMAD Python codes.
```sh
......
......@@ -37,12 +37,12 @@ panedr==0.2
parmed==3.0.0
mdtraj==1.9.6
mdanalysis
nomad_dos_fingerprints
lxml==4.6.3
xarray==0.19.0
phonopy==2.11.0
pymatgen==2022.0.17
asr==0.4.1
bitarray==2.3.5
# [infrastructure]
optimade[mongo]==0.14.0
......
......@@ -7,11 +7,11 @@ pip install --upgrade pip
git submodule sync
sleep 5
# Install nomad
pip install -e .[all]
# Install sub-modules
git submodule update --init --jobs=4
./dependencies.sh -e
# Install nomad
pip install -e .[all]
./generate_gui_artifacts.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment