INSTALL (pymol-v2.1.0.tar.bz2) | : | INSTALL (pymol-open-source-2.2.0) | ||
---|---|---|---|---|
---------------------------------------------------------------------- | ---------------------------------------------------------------------- | |||
INSTALLATION VIA COMPILATION | INSTALLATION VIA COMPILATION | |||
---------------------------------------------------------------------- | ---------------------------------------------------------------------- | |||
There is currently only one officially-supported approach for building | See also: http://pymolwiki.org/index.php/Linux_Install | |||
and installing PyMOL from the open-source code: | ||||
Using Python Disutils under an open-source environment, such as: | ||||
Linux | ||||
FreeBSD | ||||
Mac OS X under X11 (with Fink or similar) | ||||
See also: http://pymolwiki.org/index.php/Linux_Install | ||||
REQUIREMENTS | REQUIREMENTS | |||
- C++11 compiler (e.g. gcc 4.4+) | - C++11 compiler (e.g. gcc 4.7+) | |||
- Python 2.6+ | - Python 2.7+ | |||
- Tcl/Tk (via tkinter) | - Pmw (Python Megawidgets) (optional, for legacy GUI/plugins) | |||
- Pmw (Python Megawidgets) | ||||
- OpenGL | - OpenGL | |||
- GLEW | - GLEW | |||
- GLUT (freeglut) | - GLUT (freeglut) (optional, disable with --no-glut) | |||
- libpng | - libpng | |||
- freetype | - freetype | |||
- libxml2 (optional, for COLLADA export, disable with --no-libxml) | - libxml2 (optional, for COLLADA export, disable with --no-libxml) | |||
- msgpack-c 1.0+ (optional, for fast MMTF loading, disable with | - msgpack-c 1.0+ (optional, for fast MMTF loading, disable with | |||
--use-msgpackc=no) | --use-msgpackc=no) | |||
- PyQt5, PyQt4, or PySide (optional, will fall back to Tk interface) | - PyQt5, PyQt4, or PySide (optional, will fall back to Tk interface) | |||
- simplemmtf (optional, for MMTF export) | - simplemmtf (optional, for MMTF export) | |||
- glm | ||||
SETUP OPTIONS | SETUP OPTIONS | |||
python setup.py --help | python setup.py --help | |||
python setup.py --help-distutils | python setup.py --help-distutils | |||
python setup.py --help-distutils install | python setup.py --help-distutils install | |||
Special install options: | Special install options: | |||
--pymol-path= installation directory for PyMOL data ($PYMOL_PATH) | --pymol-path= installation directory for PyMOL data ($PYMOL_PATH) | |||
--bundled-pmw install bundled Pmw module | --bundled-pmw install bundled Pmw module | |||
skipping to change at line 59 | skipping to change at line 50 | |||
CC C compiler command | CC C compiler command | |||
CXXFLAGS C++ compiler flags | CXXFLAGS C++ compiler flags | |||
CFLAGS C compiler and linker flags | CFLAGS C compiler and linker flags | |||
CPPFLAGS C/C++ preprocessor flags, e.g. -I/tmp/msgpack-c/include | CPPFLAGS C/C++ preprocessor flags, e.g. -I/tmp/msgpack-c/include | |||
LDFLAGS linker flags | LDFLAGS linker flags | |||
INSTALLATION | INSTALLATION | |||
python setup.py install --prefix=~/someplace | python setup.py install --prefix=~/someplace | |||
Note: under Fink, "python" above must be Fink's python. | ||||
RUNNING PyMOL | RUNNING PyMOL | |||
~/someplace/bin/pymol | ~/someplace/bin/pymol | |||
Good luck! | Good luck! | |||
End of changes. 5 change blocks. | ||||
17 lines changed or deleted | 6 lines changed or added |