Ticket #30331: setup_py.diff
File setup_py.diff, 1.5 KB (added by howarth@…, 13 years ago) |
---|
-
setup.py
old new 101 101 # 102 102 # REMEMEBER to use "./ext/bin/python ..." 103 103 # 104 EXT = os.getcwd()+"/ext"104 EXT = "@PREFIX@" 105 105 inc_dirs=["ov/src", 106 106 "layer0","layer1","layer2", 107 107 "layer3","layer4","layer5", 108 "/usr/X11R6/include",109 108 EXT+"/include", 110 109 EXT+"/include/GL", 111 110 EXT+"/include/freetype2", … … 118 117 def_macros=[("_PYMOL_MODULE",None), 119 118 ("_PYMOL_LIBPNG",None), 120 119 ("_PYMOL_FREETYPE",None), 120 ("_PYMOL_INLINE",None), 121 ("_PYMOL_NUMPY",None), 122 ("_PYMOL_OPENGL_SHADERS",None), 123 ("NO_MMLIBS",None), 121 124 ] 122 ext_comp_args=[ ]125 ext_comp_args=["-ffast-math","-funroll-loops","-O3","-fcommon"] 123 126 ext_link_args=[ 124 "-L/usr/X11R6/lib64", "-lGL", "-lXxf86vm", 125 "-L"+EXT+"/lib", "-lpng", "-lglut", "-lfreetype" 127 "-L"+EXT+"/lib", "-lpng", "-lGL", "-lglut", "-lGLEW", "-lfreetype" 126 128 ] 127 129 #============================================================================ 128 130 else: # linux or other unix … … 181 183 'pymol/opengl/glu', 182 184 'pymol/opengl/glut', 183 185 'pymol/wizard', 186 'pymol2', 184 187 'web', 185 188 'web/examples', 186 189 'web/javascript', ],