mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Whitespace normalization.
This commit is contained in:
parent
b94b849d65
commit
21d45356b8
11 changed files with 48 additions and 48 deletions
|
@ -110,7 +110,7 @@ class install (Command):
|
|||
('optimize=', 'O',
|
||||
"also compile with optimization: -O1 for \"python -O\", "
|
||||
"-O2 for \"python -OO\", and -O0 to disable [default: -O0]"),
|
||||
|
||||
|
||||
# Miscellaneous control options
|
||||
('force', 'f',
|
||||
"force installation (overwrite any existing files)"),
|
||||
|
@ -305,7 +305,7 @@ class install (Command):
|
|||
self.install_lib = self.install_platlib
|
||||
else:
|
||||
self.install_lib = self.install_purelib
|
||||
|
||||
|
||||
|
||||
# Convert directories from Unix /-separated syntax to the local
|
||||
# convention.
|
||||
|
@ -353,7 +353,7 @@ class install (Command):
|
|||
|
||||
|
||||
def finalize_unix (self):
|
||||
|
||||
|
||||
if self.install_base is not None or self.install_platbase is not None:
|
||||
if ((self.install_lib is None and
|
||||
self.install_purelib is None and
|
||||
|
@ -426,7 +426,7 @@ class install (Command):
|
|||
def expand_basedirs (self):
|
||||
self._expand_attrs(['install_base',
|
||||
'install_platbase',
|
||||
'root'])
|
||||
'root'])
|
||||
|
||||
def expand_dirs (self):
|
||||
self._expand_attrs(['install_purelib',
|
||||
|
@ -550,7 +550,7 @@ class install (Command):
|
|||
if self.path_file and self.install_path_file:
|
||||
outputs.append(os.path.join(self.install_libbase,
|
||||
self.path_file + ".pth"))
|
||||
|
||||
|
||||
return outputs
|
||||
|
||||
def get_inputs (self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue