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

Lines Matching defs:python

1 #! /usr/bin/env python
16 % python bundlebuilder.py [options] build
17 % python buildapp.py [options] build
278 'org.python.core', 'riscos', 'riscosenviron', 'riscospath'
285 # a way to pass the Python main program to the interpreter. The
290 # deliberately with argv[0]. The actual Python executable is
336 # When building a standalone app with Python.framework, we need to copy
337 # a subset from Python.framework to the bundle. The following list
341 "Python", # the Python core library
347 return sys.exec_prefix.find("Python.framework") > 0
350 LIB = os.path.join(sys.prefix, "lib", "python" + sys.version[:3])
364 # A Python main program. If this argument is given, the main
369 # The main executable. If a Python main program is specified
393 python = None
413 # Found Python modules: [(name, codeobject, ispkg), ...]
443 if self.python:
444 self.executable = self.python
506 # /usr/bin/python
507 hashbang = "/usr/bin/python"
508 elif self.python:
509 hashbang = self.python
540 # If we're building a standalone app with Python.framework,
541 # include a minimal subset of Python.framework, *unless*
542 # Python.framework was specified manually in self.libs.
544 if os.path.basename(lib) == "Python.framework":
545 # a Python.framework was specified as a library
549 "Python.framework") + len("Python.framework")]
553 destbase = pathjoin("Contents", "Frameworks", "Python.framework",
566 self.message("Adding Python modules", 1)
575 self.message("Adding Python module %s" % name, 2)
592 self.message("Adding Python package %s" % path, 2)
594 self.message("Adding Python module %s" % path, 2)
673 # Python modules are stored in a Zip archive, but put
799 python bundlebuilder.py [options] command
800 python mybuildscript.py [options] command
813 -m, --mainprogram=FILE the Python main program
821 (eg. org.python.BuildApplet; this is used for
826 independent of a Python installation
828 an installed Python, yet includes all third-party
831 --python=FILE Python to use in #! line in stead of current Python
858 "lib=", "python=", "semi-standalone", "bundle-id=", "destroot="
912 elif opt == '--python':
913 python = arg