Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Patch for pymol's `setup.py` script to be more accomodating to home-brew and non-macports users
--- setup.py 2012-12-12 22:55:39.000000000 +0900
+++ setup_fix.py 2012-12-12 23:04:19.000000000 +0900
@@ -153,10 +153,14 @@
outputheader.close()
outputfile.close()
- EXT = "/opt/local"
+ if os.path.isdir("opt/local"):
+ EXT = "/opt/local"
+ else:
+ EXT = "/usr/local"
inc_dirs=["ov/src",
"layer0","layer1","layer2",
"layer3","layer4","layer5",
+ "/usr/X11/include",
EXT+"/include",
EXT+"/include/GL",
EXT+"/include/freetype2",
@@ -167,7 +171,7 @@
]
libs=[]
pyogl_libs = []
- lib_dirs=[]
+ lib_dirs=["/usr/X11/lib",]
def_macros=[("_PYMOL_MODULE",None),
("_PYMOL_LIBPNG",None),
("_PYMOL_FREETYPE",None),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.