Skip to content

pip install ROOT#16669

Closed
vepadulano wants to merge 15 commits intoroot-project:masterfrom
vepadulano:pip-install-root
Closed

pip install ROOT#16669
vepadulano wants to merge 15 commits intoroot-project:masterfrom
vepadulano:pip-install-root

Conversation

@vepadulano
Copy link
Member

@vepadulano vepadulano commented Oct 13, 2024

Minimal set of changes required to enable pip build backends to install ROOT.

Fixes #14890

Removing the need to link against libPython is a requirement for
manylinux. A run of `cibuildwheel` with this configuration produces a
wheel, which can be reinstalled on another Python virtual environment in
the same machine. The problem is that the wheel is recognized as a pure
Python wheel and the C++ libraries are just copied verbatim over. We
need to understand how to build according to the Python version.
Apparently just declaring a C extension module in the setuptools setup function
is enough. Even if that extension has nothing to do with the project and doesn't
exist anywhere.
See pypa/distutils#284 , the issue is marked as solved but it is not really.
@github-actions
Copy link

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit ba2a937.

@vepadulano vepadulano marked this pull request as draft October 13, 2024 15:45
@vepadulano
Copy link
Member Author

Closing in favour of #19456

@vepadulano vepadulano closed this Jul 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy root on pip

1 participant