Skip to content

Commit

Permalink
Add mantid_total_scattering as a submodule
Browse files Browse the repository at this point in the history
Unfortunately, just running it's setup.py is the only way I've gotten
things to work.
  • Loading branch information
peterfpeterson committed Mar 28, 2019
1 parent 600703e commit 3a49299
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "mantid_total_scattering"]
path = mantid_total_scattering
url = https://github.com/marshallmcdonnell/mantid_total_scattering.git
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ addie that way as well. After creating the virtual environment, run
```

which will add a file, `mantid.pth` to your environment with the
location of mantid. Then the normal
location of mantid. Then you need to "develop" mantid_total_scattering

```bash
cd mantid_total_scattering
python setup.py develop
cd -
```

and finally the the normal

```bash
python setup.py develop
Expand Down
5 changes: 5 additions & 0 deletions addiedevel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ else
fi

PYTHON_VERSION=`$CMD -c 'import sys; version=sys.version_info[:3]; print("{0}.{1}".format(*version))'`
# build mantid_total_scattering
cd mantid_total_scattering
$CMD setup.py build
cd -
# build addie
$CMD setup.py build

# launch addie
Expand Down
1 change: 1 addition & 0 deletions mantid_total_scattering

0 comments on commit 3a49299

Please sign in to comment.