forked from protonphoton/LJ
configure script
This commit is contained in:
parent
c5c7051ddc
commit
f262b5c24b
13 changed files with 1273 additions and 25 deletions
BIN
ethertools/sitter.app/Contents/MacOS/Python
Executable file
BIN
ethertools/sitter.app/Contents/MacOS/Python
Executable file
Binary file not shown.
23
ethertools/sitter.app/Contents/MacOS/sitter
Executable file
23
ethertools/sitter.app/Contents/MacOS/sitter
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
#!/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python
|
||||
|
||||
import sys, os
|
||||
execdir = os.path.dirname(sys.argv[0])
|
||||
executable = os.path.join(execdir, "Python")
|
||||
resdir = os.path.join(os.path.dirname(execdir), "Resources")
|
||||
libdir = os.path.join(os.path.dirname(execdir), "Frameworks")
|
||||
mainprogram = os.path.join(resdir, "__argvemulator_sitter.py")
|
||||
|
||||
sys.argv.insert(1, mainprogram)
|
||||
if 0 or 0:
|
||||
os.environ["PYTHONPATH"] = resdir
|
||||
if 0:
|
||||
os.environ["PYTHONHOME"] = resdir
|
||||
else:
|
||||
pypath = os.getenv("PYTHONPATH", "")
|
||||
if pypath:
|
||||
pypath = ":" + pypath
|
||||
os.environ["PYTHONPATH"] = resdir + pypath
|
||||
os.environ["PYTHONEXECUTABLE"] = executable
|
||||
os.environ["DYLD_LIBRARY_PATH"] = libdir
|
||||
os.environ["DYLD_FRAMEWORK_PATH"] = libdir
|
||||
os.execve(executable, sys.argv, os.environ)
|
||||
Loading…
Add table
Add a link
Reference in a new issue