Message247522
| Author |
skrah |
| Recipients |
alexis, brian.curtin, eric.araujo, josip, rpetrov, skrah, sneves, steve.dower, tarek, zooko |
| Date |
2015年07月28日.12:08:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1438085282.09.0.882530573442.issue7546@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|