xtensor-python icon indicating copy to clipboard operation
xtensor-python copied to clipboard

Add python packaging.

Open StefanUlbrich opened this issue 4 years ago • 5 comments

Installs headers via pip. Suitable for rapidly writing packages. Modified from the pybind11. Xtensor itself should be packaged and dded as a dependency too.

StefanUlbrich avatar Apr 04 '20 17:04 StefanUlbrich

I think this is a great idea, which I do in my shadow package as well : https://github.com/tdegeus/pyxtensor . What do others think ? @JohanMabille @SylvainCorlay @wolfv

tdegeus avatar Sep 08 '20 13:09 tdegeus

To sum up #96, the idea would be to keep this repo pure C++ and add a new repo (xtensor.py) that would contain the pure python stuff. The python package would vendor all dependencies (xtensor, xsimd and xtl). This would be consistent with what we do for the R and Julia bindings.

JohanMabille avatar Sep 08 '20 13:09 JohanMabille

Makes sense @JohanMabille . Will be much easier to maintain and ship. So all for it!

tdegeus avatar Sep 08 '20 14:09 tdegeus

Regarding the name xtensor.py, wouldn't the . cause problems e.g. in packaging?

tdegeus avatar Sep 17 '20 11:09 tdegeus

Ah, it seems from other packages that you have experience with it. I will try to allocate some time for this soon

tdegeus avatar Sep 17 '20 11:09 tdegeus