LemurPwned / VISM

Software for visualising magnetic layers
Other
6 stars 2 forks source link

Build verifier is not working on Windows #114

Closed LemurPwned closed 5 years ago

LemurPwned commented 6 years ago

Cython build veryfing script has problems with correct building on some Windows machines

LemurPwned commented 6 years ago

Investigated this issue and generally Cython requires Visual C++ SDK tools to build on Windows Machines. This was added to requirements already.

Solution for MinGw Users (most likely won't work):
http://cython.readthedocs.io/en/latest/src/tutorial/appendix.html

LemurPwned commented 6 years ago

This is foobar. MinGw64 can't build with Python at all and it seems that MinGw32 neither but for Python 3.5 or higher

So the solution would be in general to install Visual C++ build toolchain from the link here:
https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017

LemurPwned commented 6 years ago

Actually, there is more. Use of imp library caused recursive module load on Windows. Since imp has been deprecated since 3.4, it must be replaced with importlib

LemurPwned commented 5 years ago

Closing as we don't use it anymore