-
Notifications
You must be signed in to change notification settings - Fork 36
Building Tellurium Spyder
Binary installer for Tellurium Spyder is only available for Windows. For all other OSs, it is encouraged to install Tellurium Notebook or install through pip
on Anaconda distros.
Windows version of Tellurium Spyder utilizes WinPython. If you are starting to configure Tellurium Spyder or wish to update WinPython, check Setting Up. If you are simply updating few packages, check Maintenance.
WinPython comes with either full Qt5
version or bare-bone Zero
version for various Python distributions. Zero
version is preferred because it is smaller and cleaner. We currently support Python 2.7 and 3.6 64-bit. Install corresponding WinPython installations. Copy settings
folder to somewhere else and start installing packages listed under Required Packages using pip
. Once this is done, follow the instruction below for both Python 2.7 and 3.6 versions of WinPython.
After adding specified packages, the following steps must be taken in either Windows or Mac version of Tellurium to ensure compatibility.
Spyder manual customization:
- Contents of tellurium/spyder_mod should be placed accordingly. Splash image from tellurium/spyder_mod/img_src must be placed in
spyderlib/images
. Also, some of the txt files (i.e. VERSION.txt) should be in telluriumsite-packages
folder, and the distribution should also contain tellurium-files. - Make sure that the example files from rrPlugins are also in the
tellurium-files
folder. - For import plugins, place following plugins in
spyderplugins
folder. - For Network Viewer, get the latest release from here and place files accordingly.
- For Rate Law plugin, get the latest files from here. Put
ratelawgui.py
andratelaw2_0_3.xml
inspyderplugins/widgets
,ratelaw.png
inspyderplugins/images
, andp_ratelaw.py
inspyderplugins
.
Following lists the bare minimum number of packages required for Tellurium Spyder.
-
numpy
-
scipy
-
spyder
-
jupyter
-
ipywidgets
-
tellurium
-
libroadrunner
-
antimony
-
rrplugins
-
tesbml
-
tesedml
-
tenuml
-
tecombine
-
phrasedml
-
netplotlib
-
pySBOL
-
sbml2matlab
-
bioservices
-
sympy
-
matplotlib
-
pandas
-
scikit-learn
-
scikit-image
-
scikit-optimize
-
scikit-fuzzy
-
seaborn
-
bokeh
-
statsmodels
-
plotly
-
control
-
simplesbml
-
matplotlib2tikz
-
lmfit
-
cobra
-
biopython
-
tensorflow
-
Theano
-
twine
-
spyder-ratelaw
-
spyder-teimport
-
spyder-opensbml
Pretty much what is inside the Tellurium installation folder can be reused for releases. Simply copy the contents except the uninstaller executable to obtain a carbon copy of what was used to build the installer.
Now that packages are installed and manual customization are configured, build binary installers using Inno Setup with ISSI.
In many cases, updating WinPython version is not necessary. If you already set up WinPython, simply update packages you wish to update using pip
, re-build the installer and release.
Check this page to upload installers to SourceForge website.