Skip to content

Commit

Permalink
Add dependencies for pdfgeneration and plotting. Clean up use of bash…
Browse files Browse the repository at this point in the history
…rc in installer.
  • Loading branch information
timrudge committed Jun 21, 2018
1 parent 296e8fc commit d1032e1
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
6 changes: 4 additions & 2 deletions Installers/InstallCellModellerLinux64_public.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ echo
echo 1. Installing CellModeller and dependencies via Anaconda...
echo ------------------------------------------------------------
echo
source ~/.bash_profile

command -v conda >/dev/null 2>&1 || { echo "You must install Anaconda before running this installer..." >&2; exit 1; }

Expand Down Expand Up @@ -69,7 +68,10 @@ echo -------------------------------------------------------
echo
# Put an environment variable in bash_profile to tell CellModeller where things are
# Also append our bin dir to PATH
touch $HOME/.bashrc
touch $HOME/.bash_profile
echo export CMPATH=$CMDIR >> $HOME/.bash_profile
echo export "PATH=$BINDIR:$PATH" >> $HOME/.bash_profile
source ~/.bash_profile
echo export CMPATH=$CMDIR >> $HOME/.bashrc
echo export "PATH=$BINDIR:$PATH" >> $HOME/.bashrc

6 changes: 4 additions & 2 deletions Installers/InstallCellModellerOSX_public.command
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ echo
echo 1. Installing CellModeller and dependencies via Anaconda...
echo ------------------------------------------------------------
echo
source ~/.bash_profile

command -v conda >/dev/null 2>&1 || { echo "You must install Anaconda before running this installer..." >&2; exit 1; }

Expand Down Expand Up @@ -69,7 +68,10 @@ echo -------------------------------------------------------
echo
# Put an environment variable in bash_profile to tell CellModeller where things are
# Also append our bin dir to PATH
touch $HOME/.bashrc
touch $HOME/.bash_profile
echo export CMPATH=$CMDIR >> $HOME/.bash_profile
echo export "PATH=$BINDIR:$PATH" >> $HOME/.bash_profile
source ~/.bash_profile
echo export CMPATH=$CMDIR >> $HOME/.bashrc
echo export "PATH=$BINDIR:$PATH" >> $HOME/.bashrc

12 changes: 6 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
with open(version_py, 'r') as fh:
version_git = open(version_py).read().strip().split('=')[-1].replace('"','')

version_msg = "# Do not edit this file, pipeline versioning is governed by git tags"
with open(version_py, 'w') as fh:
fh.write(version_msg + os.linesep + "__version__='" + version_git + "'")
#version_msg = "# Do not edit this file, pipeline versioning is governed by git tags"
#with open(version_py, 'w') as fh:
# fh.write(version_msg + os.linesep + "__version__='" + version_git + "'")


setup(name='CellModeller',
install_requires=['numpy', 'scipy', 'pyopengl', 'pyopencl==2014.1'],
setup_requires=['numpy', 'scipy', 'pyopengl', 'pyopencl==2014.1'],
install_requires=['numpy', 'scipy', 'pyopengl', 'pyopencl==2014.1', 'reportlab', 'matplotlib'],
setup_requires=['numpy', 'scipy', 'pyopengl', 'pyopencl==2014.1', 'reportlab', 'matplotlib'],
#setup_requires=['numpy', 'pyopengl', 'mako', 'pyopencl'],
packages=['CellModeller',
'CellModeller.Biophysics',
Expand All @@ -34,5 +34,5 @@
'CellModeller.Signalling',
'CellModeller.GUI'],
package_data={'':['*.cl','*.ui']},
version=version_git
version=str(version_git)
)

0 comments on commit d1032e1

Please sign in to comment.