-
Notifications
You must be signed in to change notification settings - Fork 56
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
added prefix for git repos location in install script #290
base: main
Are you sure you want to change the base?
Conversation
I think this script is missing |
python -m pip install . --prefix=$PREFIX/openmc/install | ||
|
||
echo 'export PATH="$PREFIX/openmc/install/bin:$PATH"' >> $PREFIX/setenv.sh | ||
echo 'export PYTHONPATH="$PREFIX/openmc/install/local/lib/python3.10/dist-packages/:$PYTHONPATH"' >> $PREFIX/setenv.sh | ||
# install WMP nuclear data | ||
RUN wget https://github.com/mit-crpg/WMP_Library/releases/download/v1.1/WMP_Library_v1.1.tar.gz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RUN wget https://github.com/mit-crpg/WMP_Library/releases/download/v1.1/WMP_Library_v1.1.tar.gz | |
wget https://github.com/mit-crpg/WMP_Library/releases/download/v1.1/WMP_Library_v1.1.tar.gz |
python -m pip install . --prefix=$PREFIX/openmc/install | ||
|
||
echo 'export PATH="$PREFIX/openmc/install/bin:$PATH"' >> $PREFIX/setenv.sh | ||
echo 'export PYTHONPATH="$PREFIX/openmc/install/local/lib/python3.10/dist-packages/:$PYTHONPATH"' >> $PREFIX/setenv.sh | ||
# install WMP nuclear data | ||
RUN wget https://github.com/mit-crpg/WMP_Library/releases/download/v1.1/WMP_Library_v1.1.tar.gz | ||
tar -xf WMP_Library_v1.1.tar.gz -C |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tar -xf WMP_Library_v1.1.tar.gz -C | |
tar -xf WMP_Library_v1.1.tar.gz -C | |
# insures the paths are included in the install | |
source $PREFIX/setenv.sh |
python -m pip install . --prefix=$PREFIX/openmc/install | ||
|
||
echo 'export PATH="$PREFIX/openmc/install/bin:$PATH"' >> $PREFIX/setenv.sh | ||
echo 'export PYTHONPATH="$PREFIX/openmc/install/local/lib/python3.10/dist-packages/:$PYTHONPATH"' >> $PREFIX/setenv.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo 'export PYTHONPATH="$PREFIX/openmc/install/local/lib/python3.10/dist-packages/:$PYTHONPATH"' >> $PREFIX/setenv.sh | |
echo 'export PYTHONPATH="$PREFIX/openmc/install/lib/python3.10/site-packages/:$PYTHONPATH""' >> $PREFIX/setenv.sh |
No description provided.