From 9e244db5f8b26a48e49a7bc4e466122cfc786e90 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Sat, 16 Jan 2016 22:36:22 +0100 Subject: [PATCH] Remove unused function --- setup.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/setup.py b/setup.py index 6043f9a..428e084 100644 --- a/setup.py +++ b/setup.py @@ -72,21 +72,6 @@ else: data_files.append(('share/man/man1', ['doc/patool.1'])) -def get_nt_platform_vars (): - """Return program file path and architecture for NT systems.""" - platform = util.get_platform() - if platform == "win-amd64": - # the Visual C++ runtime files are installed in the x86 directory - progvar = "%ProgramFiles(x86)%" - architecture = "amd64" - elif platform == "win32": - progvar = "%ProgramFiles%" - architecture = "x86" - else: - raise ValueError("Unsupported platform %r" % platform) - return os.path.expandvars(progvar), architecture - - class MyInstallLib (install_lib, object): """Custom library installation."""