Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/osx/prep_py2app.py')
-rw-r--r--src/osx/prep_py2app.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/osx/prep_py2app.py b/src/osx/prep_py2app.py
deleted file mode 100644
index b215a9960..000000000
--- a/src/osx/prep_py2app.py
+++ /dev/null
@@ -1,25 +0,0 @@
-### Adjust the sys.path so that the site-packages.zip is before the lib-dynload
-### so that the osx/__init__.py in the .zip is read before looking for it in the
-### lib-dynload/osx dir where the .so's are.
-
-import sys
-
-py = -1
-lib_dyn = -1
-site_zip = -1
-for index in xrange(len(sys.path)):
- if 'Contents/Resources' in sys.path[index]:
- if sys.path[index].endswith('lib/python2.5'):
- py = index
- if sys.path[index].endswith('lib-dynload'):
- lib_dyn = index
- elif sys.path[index].endswith('site-packages.zip'):
- site_zip = index
-if ((lib_dyn > -1) and (site_zip > -1)):
- tmp = sys.path[lib_dyn]
- sys.path[lib_dyn] = sys.path[site_zip]
- sys.path[site_zip] = tmp
-if py > -1:
- del sys.path[py]
-
-# vim: se ts=3: \ No newline at end of file