2152
Comment:
|
2246
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
For basic client usage, no dependencies are required beyond the basic Python environment; the GUI clients require PyQt4. See [[EMEN2/EMDash]] for more information. | To run the EMEN2 server, Berkeley DB, bsddb3, and dateutil 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 image analysis, are provided by EMAN2 and ImageMagick. |
Line 5: | Line 5: |
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 the EMEN2 dependencies listed below in the EMAN2 binary distribution. This is the recommended way to install and use EMEN2. See [[EMAN2]] for information about EMAN2. |
Line 7: | Line 7: |
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. | See [[EMEN2/Install]] for instructions on installing EMEN2 once all dependencies are installed. |
Line 29: | Line 29: |
* dateutil * A library for accurate manipulation of dates and times * http://labix.org/python-dateutil * "easy_install dateutil" |
|
Line 45: | Line 50: |
* JSONRPC * http://pypi.python.org/pypi/jsonrpc * "easy_install jsonrpc" |
|
Line 51: | Line 61: |
* Matplotlib (recommended) * Plotting support * Note: commonly installed with EMAN2 * "easy_install matplotlib" |
|
Line 57: | Line 62: |
* Thumbnail and document preview support | * Thumbnail and document preview support for "normal" image formats (jpg, png, etc.) |
EMEN2 Dependencies
To run the EMEN2 server, Berkeley DB, bsddb3, and dateutil 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 image analysis, are provided by EMAN2 and ImageMagick.
Please note that we include all the EMEN2 dependencies listed below in the EMAN2 binary distribution. This is the recommended way to install and use EMEN2. See EMAN2 for information about EMAN2.
See EMEN2/Install for instructions on installing EMEN2 once all dependencies are installed.
Python Environment
- Python 2.6 or 2.7
- Note: do not use Python 3.0+
Core Database
- 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
- bsddb3 5.x+
- Python bindings for Berkeley DB
- Note: Relatively recent 4.8.2x release are probably OK as well
- "easy_install bsddb3"
- dateutil
- A library for accurate manipulation of dates and times
- "easy_install dateutil"
Web Server
- Mako Templates (latest)
- A simple, fast templating system for Python
- "easy_install mako"
- Twisted 10.x+
- An event-driven networking engine written in Python
- "easy_install twisted"
- Markdown
- Simplified rich-text editing
- "easy_install Markdown"
- JSONRPC
- "easy_install jsonrpc"
Web Server: Optional
- EMAN2 (highly recommended)
- EMAN2 is optionally used to generate browsable micrograph previews.
ImageMagick (recommended)
- Thumbnail and document preview support for "normal" image formats (jpg, png, etc.)
- Commonly installed on Linux
- pyOpenSSL
- Network encryption
- "easy_install pyOpenSSL"