Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Create pypi distribution of pymimkl #5

Open
drugilsberg opened this issue Oct 21, 2019 · 1 comment
Open

Create pypi distribution of pymimkl #5

drugilsberg opened this issue Oct 21, 2019 · 1 comment

Comments

@drugilsberg
Copy link
Member

No description provided.

@C-nit
Copy link
Member

C-nit commented Nov 5, 2020

The major benefit would be to distribute wheels that do not require compilation.
However our setup does not support this well. Building a wheel will work on the same machine, but the wheel is incorrectly tagged as system independent wheel, while the compiled pymimkl library is tagged system dependent.

I'm dumping here some links in case we want to change at some point the setup to work with pip/setuptools/distutils intended mechanisms, i.e. Extension and build_ext in junction with cmake.

basic idea: provide

    ext_modules=[CMakeExtension('cmake_example')],
    cmdclass=dict(build_ext=CMakeBuild),

to setup()

examples using cmake and pybind11:

build wheels for all platforms via CI
https://cibuildwheel.readthedocs.io/en/stable/

Maybe scikit-build does the trick:
https://scikit-build.readthedocs.io/en/latest/
https://github.com/scikit-build/scikit-build-sample-projects/tree/master/projects/hello-pybind11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants