Commit cde7cbbe authored by SOLIMAN Sylvain's avatar SOLIMAN Sylvain

conda has no python-sat, but has pip

parent 8c504c32
......@@ -8,7 +8,7 @@
about/0
]).
version('4.2.1').
version('4.2.2').
copyright(
'Copyright (C) 2003-2019 Inria, EPI Lifeware, Saclay-Île de France, France'
......
{
"name": "gui",
"version": "4.2.1",
"version": "4.2.2",
"description": "biocham gui in jupyter notebook",
"main": "src/index.js",
"scripts": {
......
"""Example magic"""
__version__ = '4.2.1'
__version__ = '4.2.2'
......@@ -122,15 +122,19 @@ packages='python-sat jupyter bokeh ipywidgets'
if hash pip3 2>/dev/null
then
pip3 install -U $packages
elif (hash pip 2> /dev/null) && [[ "pip --version" = "*python 3*" ]]
then
pip install -U $packages
else
if hash conda 2>/dev/null
then
conda install -y $packages
conda install -y pip
pip install -U $packages
else
if [[ "$conda_arch" == "Linux" ]]
then
sudo apt-get -qy install python3-pip
pip3 install -U $packages
pip install -U $packages
else
# Note that miniconda is available through brew cask, but to avoid adding
# brew cask if not necessary, we just do without
......@@ -139,7 +143,8 @@ else
./Miniconda3-latest-${conda_arch}-x86_64.sh -b -p ${HOME}/miniconda3
echo 'export PATH=${HOME}/miniconda3/bin:${PATH}' >> ${HOME}/.profile
export PATH=${HOME}/miniconda3/bin:${PATH}
conda install -y $packages
conda install -y pip
pip install -U $packages
fi
fi
fi
......
......@@ -32,7 +32,7 @@
</head>
<body>
<h1>The Biochemical Abstract Machine BIOCHAM 4</h1>
<h1>version 4.2.1, August 2019</h1>
<h1>version 4.2.2, August 2019</h1>
<div class="authors">
<p>
......
Markdown is supported
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