cmake: Rework python.cmake #2858
Labels
Build: CMake
CMake based build issue
Feature Request
Missing Feature/Wrapper
Lang: Python
Python wrapper issue
Milestone
After few discussions with conda-forge maintainer few things to improve:
__version__
in CheckPythonModule (not available forabsl
,mypy_protobuf
etc...) (v9.2)FindORTOOLS.cmake
setup.py
to anpyproject.toml
file (see PEP 621, PEP 518)ps: feel free to give feedback and I will add them to this list.
DevNote
You can (re)read the thread on or-tools integration to conda forge, TLDR: it wasn't as smooth as it should have so let's fix what we can on the or-tools cmake side if possible...
src: conda-forge/staged-recipes#16147
Some preliminary PoC can be done using https://github.com/Mizux/python-native which compile in few dozen of seconds contrary to ortools...
For 0.
could use:
src: conda-forge/staged-recipes#16147 (comment)
note:
--files
seems not needed.For 1.
or-tools/ortools/python/setup.py.in
Line 49 in 86d4c54
The text was updated successfully, but these errors were encountered: