Home | History | Annotate | Download | only in plat-mac

Lines Matching full:path

22     _dir = os.path.split(sys.executable)[0] # removes "python"
23 _dir = os.path.split(_dir)[0] # Removes "MacOS"
24 _dir = os.path.join(_dir, 'Resources')
27 _dir = os.path.split(sys.argv[0])[0]
29 # Add the Resources directory to the path. This is where files installed
31 # modules this sys.path modification is necessary to be able to import them.
33 sys.path.insert(0, _dir)
41 __file__ = os.path.join(_dir, '__main__.py')
42 if os.path.exists(__file__):
50 __file__ = os.path.join(_dir, '__main__.pyc')
51 if os.path.exists(__file__):