Stefan Krah added the comment: The workaround is telling users to run e.g. ``vcvarsall x64'' before the build. setup.py then contains
extra_objects = ['vcdiv64.obj'] os.system("ml64 /c /Cx vcdiv64.asm"), which is run before creating the extension. The extension itself contains 'extra_objects': ext = Extension ( ... extra_objects=extra_objects ) That has always worked for me. It isn't a big deal either, since most people on Windows use installer packages anyway. I have no strong opinion either way. If you think this adds too much complexity, feel free to close the issue. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7546> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com