Hello,
I have been trying to package python-thewalrus for a while.
https://build.opensuse.org/package/show/home:andythe_great/python-thewalrus
This python package contain a bit of C++ inside it.
Normally, %python_build and %python_install will let the C++ code build and compile.
However, I was told that it should be disabled and should be manually build by spec file.
Which I did disabled it.
But I could not get it to build with error.
error: can't create or remove files in install directory.
The following error occurred while trying to add or remove files in the
installation directory:
[Errno 13] Permission denied:
'/usr/lib/python3.8/site-packages/test-easy-install-8702.write-test'
I suspect that the working directory is conflicting.
I have look into some example package like python-onnx
https://build.opensuse.org/package/show/openSUSE:Factory/python-onnx
But I could not point out what mistake I have made.
Kind regards,
Andy
--
To unsubscribe, e-mail: opensuse-python+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-python+owner(a)opensuse.org