Skip to content

Commit

Permalink
Added search path /usr/lib. This is a workaround for #101.
Browse files Browse the repository at this point in the history
Former-commit-id: 47ee17a6ab6216c5f9d0839d8e205570f666aff6 [formerly e0d428e865c0fed5a1a62035b0a59fb0abde506c] [formerly 5689a4b225329bd1b1fcd5025c862290fc9c9dd2 [formerly 18258cbcc34f0cacd672b9adc1b9713f9112d753]] [formerly 971403cd57c4fdaf42cdb9d7eeb43a615faeccab [formerly 6d34d6f394066f635af42346cc459275c3fd811f] [formerly 5404201e0638caa566ae5f079d1f3e02ff29de1e [formerly a1b7f1b]]]
Former-commit-id: 50243c415dccbc025ee20764b28b40bcb8b7089f [formerly 46104f7e8c202e3e0937303da99f272510e5ce84] [formerly 74e42e16de2872f2fcb3197f85ef9110370cebd8 [formerly 38e2cd9b1c26caa1ce23eaf8d0bf3631f315a26d]]
Former-commit-id: e310dea65690e8442692c90a33e0b6e9087e4e45 [formerly ec989c99b3a198fbb8eb1baf063582ed8cfb0048]
Former-commit-id: 356a582b13340d2e68c86d16eeaab507c5f68ae1
  • Loading branch information
paulmueller committed Apr 22, 2015
1 parent 8cc5621 commit 444dab1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pycorrfit/doc.py
Expand Up @@ -73,7 +73,14 @@ def GetLocationOfFile(filename):
dirname+"/../",
dirname+"/../pycorrfit_doc/",
dirname+"/../doc/",
# check /usr/lib64 -> /usr/lib
dirname.replace("/usr/lib64", "/usr/lib", 1),
]

if dirname.startswith("/usr/lib64/"):
locations


## freezed binaries:
if hasattr(sys, 'frozen'):
try:
Expand Down

0 comments on commit 444dab1

Please sign in to comment.