comparison roundup/dist/command/build_scripts.py @ 5022:9250620c7219 pip

build_scripts: Fix long term bug with setting self.target_platform self.target_platform is not used anywhere outside this custom class
author anatoly techtonik <techtonik@gmail.com>
date Mon, 11 Jan 2016 01:28:45 +0300
parents e233d7a66343
children 5e2888db6c48
comparison
equal deleted inserted replaced
5021:70dde3937c9b 5022:9250620c7219
58 "Scripts are built for %s only (requested formats: %s)" 58 "Scripts are built for %s only (requested formats: %s)"
59 % (target, ",".join(formats))) 59 % (target, ",".join(formats)))
60 else: 60 else:
61 # default to current platform 61 # default to current platform
62 target = sys.platform 62 target = sys.platform
63 self.target_platfom = target 63 self.target_platform = target
64 64
65 # for native builds, use current python executable path; 65 # for native builds, use current python executable path;
66 # for cross-platform builds, use default executable name 66 # for cross-platform builds, use default executable name
67 if self.python_executable: 67 if self.python_executable:
68 # TODO? allow command-line option 68 # TODO? allow command-line option

Roundup Issue Tracker: http://roundup-tracker.org/