New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't build Zope on Windows w/ 2.4.1c1 #41679
Comments
See the python-dev thread with the same name, at <http://mail.python.org/pipermail/python-dev/2005- The PATH we build, when compiling C extensions, A simple but sane hack is adding a new: . if p not in self.__paths: guard inside the: . for p in string.split(os.environ['path'], ';'): loop in 2.4.1c1's msvccompiler.py's initialize() function. |
Logged In: YES On python-dev, AMK said: """ def __init__ (self, verbose=0, dry_run=0, force=0):
...
self.initialized = False
def compile(self, sources,
output_dir=None, macros=None,
include_dirs=None, debug=0,
extra_preargs=None, extra_postargs=None,
depends=None):
if not self.initialized: self.initialize()
...
def initialize(self):
... does not seem to set self.initialized to True! I think the fix is to add 'self.initialized = True' to the Adding that to the end of initialize() worked for me (and |
Logged In: YES Assigned to me. I'll check in Andrew's fix Friday, pending |
Logged In: YES Fixed, via AMK's suggestion: Lib/distutils/msvccompiler.py 1.64.2.3 Not an issue for 2.5 (MSVCCompiler initialization is already |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: