Differences between revisions 4 and 37 (spanning 33 versions)
Revision 4 as of 2010-03-29 07:54:58
Size: 671
Editor: root
Comment:
Revision 37 as of 2012-03-12 08:54:49
Size: 2152
Editor: IanRees
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
python 2.6+ (not 3.0)
 http://www.python.org
= EMEN2 Dependencies =

For basic client usage, no dependencies are required beyond the basic Python environment; the GUI clients require PyQt4. See [[EMEN2/EMDash]] for more information.

On the database server side, Berkeley DB and bsddb3 are required for basic functionality. If you want to run the web server, you will also need Twisted, Markdown, and Mako. Additional server features, such as thumbnails and plotting, are provided by EMAN2, matplotlib, and ImageMagick.

Please note that we include all EMEN2 dependencies in the EMAN2 binary distribution's Python environment. This is the recommended installation, and generally how we run it ourselves.

== Python Environment ==

 * Python 2.6 or 2.7
  * Note: do not use Python 3.0+
  * http://www.python.org
Line 5: Line 16:
EMAN2
 http://ncmi.bcm.edu/ncmi/software/counter_222/software_86
== Core Database ==
Line 8: Line 18:
 * Berkeley DB 5.x+
  * BDB is the storage and transactional backend for EMEN2
  * Note: Relatively recent 4.8.2x release are probably OK as well
  * http://www.oracle.com/technology/software/products/berkeley-db/index.html
Line 9: Line 23:
Berkeley DB 4.8.24+
 http://www.oracle.com/technology/software/products/berkeley-db/index.html
 * bsddb3 5.x+
  * Python bindings for Berkeley DB
  * Note: Relatively recent 4.8.2x release are probably OK as well
  * http://www.jcea.es/programacion/pybsddb.htm
  * "easy_install bsddb3"
Line 12: Line 29:
== Web Server ==
Line 13: Line 31:
bsddb3 4.8.4+
 python bindings for berkeley db -- latest version from http://www.jcea.es/programacion/pybsddb.htm
 "easy_install bsddb3"
 * Mako Templates (latest)
  * A simple, fast templating system for Python
  * http://www.makotemplates.org/
  * "easy_install mako"
Line 17: Line 36:
 * Twisted 10.x+
  * An event-driven networking engine written in Python
  * http://twistedmatrix.com/trac/
  * "easy_install twisted"
Line 18: Line 41:
Mako Templates
 http://www.makotemplates.org/
 "easy_install makotemplates"
 * Markdown
  * Simplified rich-text editing
  * "easy_install Markdown"
Line 22: Line 45:
== Web Server: Optional ==
Line 23: Line 47:
demjson
 http://deron.meranda.us/python/demjson/
 "easy_install demjson"
 * EMAN2 (highly recommended)
  * EMAN2 is optionally used to generate browsable micrograph previews.
  * http://ncmi.bcm.edu/ncmi/software/counter_222/software_86
Line 27: Line 51:
 * Matplotlib (recommended)
  * Plotting support
  * Note: commonly installed with EMAN2
  * "easy_install matplotlib"
Line 28: Line 56:
Twisted
 http://twistedmatrix.com/trac/
 "easy_install twisted"
 * ImageMagick (recommended)
  * Thumbnail and document preview support
  * Commonly installed on Linux
  * http://www.imagemagick.org/
Line 32: Line 61:

yaml
 "easy_install
yaml"


pyOpenSSL
 "easy_install pyOpenSSL"
 * pyOpenSSL
  * Network encryption
  *
"easy_install pyOpenSSL"

EMEN2 Dependencies

For basic client usage, no dependencies are required beyond the basic Python environment; the GUI clients require PyQt4. See EMEN2/EMDash for more information.

On the database server side, Berkeley DB and bsddb3 are required for basic functionality. If you want to run the web server, you will also need Twisted, Markdown, and Mako. Additional server features, such as thumbnails and plotting, are provided by EMAN2, matplotlib, and ImageMagick.

Please note that we include all EMEN2 dependencies in the EMAN2 binary distribution's Python environment. This is the recommended installation, and generally how we run it ourselves.

Python Environment

Core Database

Web Server

  • Mako Templates (latest)
  • Twisted 10.x+
  • Markdown
    • Simplified rich-text editing
    • "easy_install Markdown"

Web Server: Optional

EMEN2/Dependencies (last edited 2013-06-27 04:51:06 by IanRees)