Skip to content
Snippets Groups Projects
Commit 0760648f authored by Marco De Simone's avatar Marco De Simone
Browse files

Update install-oasys.sh

parent 48376907
No related branches found
No related tags found
No related merge requests found
......@@ -90,12 +90,12 @@ source /opt/conda/bin/activate
conda create --name oasys python=3.7
conda activate oasys
conda install -c conda-forge -y xraylib
conda install -c anaconda -y numba six qt
conda install -c anaconda -y numba six qt scipy matplotlib numpy
conda env list
python -m pip install --no-cache-dir resources --upgrade
python -m pip install --no-cache-dir numpy --upgrade
python -m pip install --no-cache-dir scipy --upgrade
python -m pip install --no-cache-dir matplotlib --upgrade
#python -m pip install --no-cache-dir numpy --upgrade
#python -m pip install --no-cache-dir scipy --upgrade
#python -m pip install --no-cache-dir matplotlib --upgrade
python -m pip install oasys1
cat > /tmp/reqs.txt <<EOF
......@@ -130,11 +130,6 @@ python -m pip install --no-cache-dir -r /tmp/reqs.txt
# && apt-get purge -y lib*-dev \
apt-get -y clean
find /opt/conda/ -follow -type f -name '*.a' -delete && \
find /opt/conda/ -follow -type f -name '*.js.map' -delete && \
find /opt/conda/ -follow -type f -name '*.pyc' -delete && \
find /opt/conda/ -follow -type f -name '*.js.map' -delete &&\
#find /opt/conda/lib/python*/site-packages/bokeh/server/static -follow -type f -name '*.js' ! -name '*.min.js' -delete
rm -rf /root/.cache/pip
......
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