Improvements from code review
This commit is contained in:
@@ -264,12 +264,6 @@ def build(options: BuildOptions) -> None:
|
||||
exit(1)
|
||||
|
||||
|
||||
def build_one(options: BuildOptions, config: PythonConfiguration, docker: DockerContainer,
|
||||
container_project_path: PurePath, container_package_dir: PurePath,
|
||||
container_output_dir: PurePath, log: Logger):
|
||||
pass
|
||||
|
||||
|
||||
def troubleshoot(package_dir: Path, error: Exception) -> None:
|
||||
if (isinstance(error, subprocess.CalledProcessError) and error.cmd[0:2] == ['pip', 'wheel']):
|
||||
# the 'pip wheel' step failed.
|
||||
|
||||
@@ -11,11 +11,11 @@ FOLD_PATTERNS = {
|
||||
}
|
||||
|
||||
PLATFORM_IDENTIFIER_DESCIPTIONS = {
|
||||
'manylinux_x86_64': 'Manylinux x86_64',
|
||||
'manylinux_i686': 'Manylinux i686',
|
||||
'manylinux_aarch64': 'Manylinux aarch64',
|
||||
'manylinux_ppc64le': 'Manylinux ppc64le',
|
||||
'manylinux_s390x': 'Manylinux s390x',
|
||||
'manylinux_x86_64': 'manylinux x86_64',
|
||||
'manylinux_i686': 'manylinux i686',
|
||||
'manylinux_aarch64': 'manylinux aarch64',
|
||||
'manylinux_ppc64le': 'manylinux ppc64le',
|
||||
'manylinux_s390x': 'manylinux s390x',
|
||||
'win32': 'Windows 32bit',
|
||||
'win_amd64': 'Windows 64bit',
|
||||
'macosx_x86_64': 'macOS x86_64',
|
||||
@@ -108,7 +108,6 @@ class Logger:
|
||||
fold_start_pattern = FOLD_PATTERNS.get(self.fold_mode, DEFAULT_FOLD_PATTERN)[0]
|
||||
|
||||
print(fold_start_pattern.format(name=self.active_fold_group_name))
|
||||
print()
|
||||
|
||||
def _end_fold_group(self):
|
||||
if self.active_fold_group_name:
|
||||
|
||||
Reference in New Issue
Block a user