-
Notifications
You must be signed in to change notification settings - Fork 279
/
INSTALL
63 lines (48 loc) · 2.08 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
59
60
61
62
----------------------------------------------------------------------
INSTALLATION VIA COMPILATION
----------------------------------------------------------------------
See also: http://pymolwiki.org/index.php/Linux_Install
REQUIREMENTS
- C++17 compiler (e.g. gcc 8+)
- CMake (3.13+)
- Python 3.9+
- pip (with build submodule <pip install build>; conda's package name is python-build)
- 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, PyQt6, PySide2 or PySide6 (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
pip install --help
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
Clean build and installation
pip install .
Recommended for developers (build output, incremental build, and building C++ unit tests)
pip install --verbose --no-build-isolation --config-settings testing=True .
RUNNING PyMOL
~/someplace/bin/pymol
Good luck!