-
Notifications
You must be signed in to change notification settings - Fork 72
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 support for MSVC 14.X to cygwinccompiler #14
Comments
I'll move this to the pypa/distutils project. I'd need someone to volunteer to help integrate the support. In the meantime, setting |
Thank you! I think adding the missing MSVC versions from the supported WindowsCompilers from the Python Wiki to the elif conditions will solve the probleme. |
Thanks for providing that reference. That document indicates that Setuptools is required. Do you know where Anaconda maintains those patches? Are they open source? Can they be incorporated here? Would you be willing to drive this effort and develop/solicit a patch to add MSVC 14 support to distutils? |
After a little research I found where the patches are: https://github.com/conda-forge/python-feedstock/tree/master/recipe/patches The actual patch for distutils is a bit dirty I think, it uses a >= operator for the msc_ver variable. Can you help me with the steps of doing a patch? First I need to fork the project, do the changes onto a new branch, but do I need to write or run a test also? |
Sorry for the delayed response.
Ideally, yes. See the test_cygwincompiler for the existing tests. This project does enable running the tests with tox. It sounds like you may be a little new to this project, so at the risk of dissuading, your best next step may be to find a mentor or partner, someone more familiar with Python development and particularly with Anaconda and Cygwin development, to assist with the effort, as I'll likely not have the bandwidth or knowledge to help effectively. |
Fixed in #41 |
We are using mingw32 on Windows and we got this error message:
Adding the MSVC 14.X compilers to the conditions would solve the problem.
We also use Anaconda. It seems like they know about this and they have inserted a hack into their distutils package. If we force to use Anaconda's distutils instead of setuptools/_distutils, we don't get this error and we can compile C codes.
Could you update this file? I saw that setuptools seems to support MSVC 14.X versions, and probably this file wasn't updated because the code coverage is 0%, because it is used just in a very special situation.
The text was updated successfully, but these errors were encountered: