symengine.py icon indicating copy to clipboard operation
symengine.py copied to clipboard

Switch to scikit-build

Open ghost opened this issue 7 years ago • 14 comments

Scikit-build is an improved build system generator that automatically prefers the ninja build system.

ghost avatar Feb 15 '18 19:02 ghost

@xoviat, thanks for doing this. I wanted to check and fix scikit-build regarding https://github.com/symengine/symengine.py/pull/144#issuecomment-304048013 but I haven't had time to look at it. Do you know if they have been resolved?

isuruf avatar Feb 15 '18 20:02 isuruf

@isuruf Would you mind filing issues on the scikit-build repository? If the issue is not filed, it is no surprise that nothing is done.

ghost avatar Feb 15 '18 20:02 ghost

Will do tonight

isuruf avatar Feb 15 '18 20:02 isuruf

@xoviat thanks for working on this. I am all for offloading the heavy lifting to scikit-build.

certik avatar Feb 15 '18 22:02 certik

How important is cross-compile MinGW support?

ghost avatar Feb 15 '18 23:02 ghost

While the binaries provided in releases are python 3.5+ only, we do build and test with MinGW and MSVC 2015 for python 2.7 support. By 2020, we'll drop 2.7 support, but until then, I'd like to keep 2.7 support if that's not too much trouble.

isuruf avatar Feb 15 '18 23:02 isuruf

To be clear, I'm not discussing dropping Python 2.7 support. I'm discussing dropping support for MinGW and Python 3.5+ on windows.

ghost avatar Feb 15 '18 23:02 ghost

I'm discussing dropping support for MinGW and Python 3.5+ on windows.

That's okay

isuruf avatar Feb 15 '18 23:02 isuruf

I don't know what the cause of the import failure that occurs on Travis-CI is. The files seem to be installed to their correct locations.

ghost avatar Feb 20 '18 03:02 ghost

Shot in the dark (not sure at all it applies here): at least with pytest (don't use nosetests much myself) I've had strange problems unless I specified zip_safe=False.

bjodah avatar Feb 20 '18 12:02 bjodah

cc @isuruf

ghost avatar Feb 21 '18 01:02 ghost

cc @isuruf

ghost avatar Feb 27 '18 06:02 ghost

@isuruf I still think this is a good idea in general to switch to scikit-build, as it should simplify the build system that we have to maintain. What do you think?

certik avatar Dec 26 '18 17:12 certik

Yes, I'm in favor of using scikit-build too. This PR has to be improved before merging though. Removing the --symengine-dir option to specify symengine C++ build directory limits my development workflow.

isuruf avatar Dec 27 '18 07:12 isuruf