mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
parent
be83737c7c
commit
9f5c0c41ce
4 changed files with 16 additions and 3 deletions
|
|
@ -40,6 +40,8 @@ class build (Command):
|
|||
"compile extensions and libraries with debugging information"),
|
||||
('force', 'f',
|
||||
"forcibly build everything (ignore file timestamps)"),
|
||||
('executable=', 'e',
|
||||
"specify final destination interpreter path (build.py)"),
|
||||
]
|
||||
|
||||
boolean_options = ['debug', 'force']
|
||||
|
|
@ -61,6 +63,7 @@ class build (Command):
|
|||
self.compiler = None
|
||||
self.debug = None
|
||||
self.force = 0
|
||||
self.executable = None
|
||||
|
||||
def finalize_options (self):
|
||||
|
||||
|
|
@ -93,6 +96,8 @@ class build (Command):
|
|||
self.build_scripts = os.path.join(self.build_base,
|
||||
'scripts-' + sys.version[0:3])
|
||||
|
||||
if self.executable is None:
|
||||
self.executable = os.path.normpath(sys.executable)
|
||||
# finalize_options ()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue