Skip to content

Conversation

@claudiushaag
Copy link
Member

This is a purely suggestion on how to include pyfans in the fans repo, which might come in handy at some point in time. Just noticed this branch still lying around...
This leads to pyfans being able to be installed by
cd pyfans; ${PYTHON} -m pip install --no-deps --no-build-isolation -vv . given the correct dependencies installed.

This is done by using the scikit-build-core backend which is able to trigger the cmake build with the corresponding flag, and then puts all binaries etc in the correct site-packages directory on the pythonpath.
This could also be used to create a subpackage pyfans as output from the fans-feedstock, by installing it via pip install and therefore putting it into the correct places, without much more work, basically plug-and-play.

Furthermore this includes the setup for the repo for pyfans to be a second pixi-build-package which is only packaged for a specific feature/environment to allow for testing.

In this way, it would be possible to include a valid python-package without altering the cmake build process or else for the pure C++ package. It yields some code-duplication in regard to versions and dependencies, but it is completely seperate by still being usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant