It looks like you're new here. If you want to get involved, click one of these buttons!
Hi everyone,
I successfully built klayout from the source file under ubuntu. Now I would like to create a package file in order to distribute the custom built executable to other machines that has non of the dependencies.
What would be the optimum approach to build such distribution package and identify all the needed dependencies and files to be included?
Thanks in advance,
Hosam
Comments
https://github.com/KLayout/klayout/blob/master/scripts/makedeb.sh
Is probably what you are looking for
On another note:
@Matthias would it be possible that we separate the python package from the main .deb (and probably rpm too)? I would suggest to separate them with
python3-klayout, klayout
(to follow the debian naming scheme and I think ubuntu uses that too). I am willing to make a PR if you think that might help.Right now I'm not prepared for separate packages in terms of deployment, but this change makes sense at least for 0.28.
But honestly, is there much use for the Python package at all now that PyPI got it's own klayout package?
Matthias
Very fair point. To my knowledge there is nothing that would warrant having to ship the python package with the .deb. So I would vote for removing it from the python module then. Otherwise, it could impact virtual environments if they don't exclude system packages (can be configured for venv for example afaik).
I scheduled the removal for 0.28: https://github.com/KLayout/klayout/issues