forked from schrodinger/pymol-open-source
-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL
59 lines (45 loc) · 1.88 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
----------------------------------------------------------------------
INSTALLATION VIA COMPILATION
----------------------------------------------------------------------
See also: http://pymolwiki.org/index.php/Linux_Install
REQUIREMENTS
- C++11 compiler (e.g. gcc 4.7+)
- Python 3.6+
- Pmw (Python Megawidgets) (optional, for legacy GUI/plugins)
https://github.com/schrodinger/pmw-patched
- OpenGL
- GLEW
- GLUT (freeglut) (optional, enable with --glut)
- libpng
- freetype
- libxml2 (optional, for COLLADA export, disable with --no-libxml)
- msgpack-c 2.1.5+ (optional, for fast MMTF loading and export,
disable with --use-msgpackc=no)
- mmtf-cpp (for fast MMTF export, disable with --use-msgpackc=no)
- PyQt5, PyQt4, PySide2 or PySide (optional, will fall back to Tk
interface if compiled with --glut)
- glm
- catch2 (optional, enable with --testing)
- openvr 1.0.x (optional, enable with --openvr)
- libnetcdf (optional, disable with --no-vmd-plugins)
SETUP OPTIONS
python setup.py --help
python setup.py --help-distutils
python setup.py --help-distutils install
Special install options:
--pymol-path= installation directory for PyMOL data ($PYMOL_PATH)
--no-launcher skip installation of the pymol launcher
Environment variables:
PREFIX_PATH Colon-delimited list of paths to search for headers and
libraries, e.g. $HOME/mmtf-cpp:$HOME/msgpack-c:/opt/local
CXX C++ compiler command
CC C compiler command
CXXFLAGS C++ compiler flags
CFLAGS C compiler and linker flags
CPPFLAGS C/C++ preprocessor flags, e.g. -I/tmp/msgpack-c/include
LDFLAGS linker flags
INSTALLATION
python setup.py install --prefix=~/someplace
RUNNING PyMOL
~/someplace/bin/pymol
Good luck!