-
Notifications
You must be signed in to change notification settings - Fork 36
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
Add ARM-compatible launchers #85
Comments
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). I just tried to use the above mentioned
I seems that the shlwapi.lib library is not available for the ARM platform. The library is linked with a I think it's only used for the BTW, I used Visual Studio Express 2012 as recommended in the setuptools' launcher build script:
|
Jason / Cosimo, I will look at this as soon as I can - perhaps this coming weekend. I may use a more recent version of Visual Studio - presumably that will not cause a problem for you? |
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). Sure, no rush. Thanks for looking into this :) |
Original comment by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco). I don't see any problem with newer versions of VS. The ARM binaries were a user contrib and are likely only rarely used. If it becomes an impediment, we can probably drop them, but I'd like to retain support for them if possible. |
@anthrotype, does this mean that the build is done on a Windows 8 machine? I ask because you say you installed |
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). No, I actually tried that on a Windows 10 virtual machine, so I suppose it means that the target is Win 8. I haven't tried installing that on Windows 7... |
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). wikipedia says Windows RT has been discontinued.. https://en.wikipedia.org/wiki/Windows_RT |
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). Ignore what I just said, I'm not really a Windows developers so I know nothing about the details of the platform. |
I've made some progress. The vs_2012 branch of the As these launchers are untested, I don't want to add them yet to the default Not sure what more I can do at this stage. Over to one of you chaps 😉 |
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). Thanks a lot for your work, Vinay! |
Original comment by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco). @Eyeofhell was the original contributor of the ARM binaries for setuptools, introduced with Distribute 0.6.39. Perhaps he has some experience testing these executables. If he does not, the best recommendation I can make is to release them and then await reports for issues (which may not come). I do appreciate the effort on this to provide at least a best effort solution, but if we've reached the wall in testing/validating the solution, then I'm content to leave it for others to comment/contribute to advance the effort. |
Original comment by Grigory Petrov (Bitbucket: eyeofhell, ). Hi there! I used "Windows RT" machine to test arm binaries. But it seems that Microsoft has silently dropped this Windows version and I can't see any devices available anymore. Is it any windows-based ARM devices avialable on the market right now that python runs on? |
Original comment by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco). I had been assuming that to support modern Windows Phone and similar devices that builds of executables would need to be cross compiled. It hadn't occurred to me that they might have with their Universal App technology obviates the need for cross builds. Is it possible that with modern compilers, there's a way to compile a command-line app such that it runs on any Windows 8.1+ device? what implications does that have for 32-bit vs 64-bit? |
Original comment by Cosimo Lupo (Bitbucket: anthrotype, GitHub: anthrotype). FWIW, I also cannot find a Windows RT device to test this on. This morning I asked IT people in my office, and they replied that this OS is not widely used any more, besides being no longer supported by Microsoft. |
Original comment by Grigory Petrov (Bitbucket: eyeofhell, ). So we need any device that runs non-x86 Windows and Python at same time. I don't know about any Universal App Python distributions :( |
Rather than do this (as there is no evidence of demand, and likely to be support issues around the underlying platform, by the sound of it) I think it would be wiser to hang fire on the ARM launchers altogether, and not include them. If someone raises an issue because they need the launchers, then presumably they will have a platform on which to test them, and be willing to put in some reporting/diagnostic effort in case the testing shows up problems. Note that I had to jump through undocumented hoops to get the ARM builds to happen, even with VS2012. The default error message is to the effect that desktop applications are not supported with the ARM compilers. It seems to be not a technical limitation, but a commercial one imposed by Microsoft. Arguably, the availability of the ARM launchers in setuptools is not any longer a major feature, given that Microsoft has moved on from Windows RT. It might be worth posting on distutils-sig to see if anyone there has opinions on this. |
Original comment by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco). I've filed setuptools 611 to track the removal of ARM launchers from setuptools. |
Should be resolved in ad0ea22, at least as far as ARM64 launchers are concerned. There seems no need for ARM32 launchers at present. |
Original changes by Vinay Sajip (Bitbucket: vinay.sajip, GitHub: vsajip). changed state from "wontfix" to "resolved" |
Original report by Jason R. Coombs (Bitbucket: jaraco, GitHub: jaraco).
In this pull request for setuptools, anthrotype is working to update Setuptools to use distlib for its script launchers, unifying yet another piece of the python packaging infrastructure.
However, setuptools' executable launchers support one major feature that distlib does not currently, and that's ARM-compatible executables.
Setuptools builds its launches with this script. Can someone update distlib to include builds of the launcher for ARM as well?
The text was updated successfully, but these errors were encountered: