-
Notifications
You must be signed in to change notification settings - Fork 179
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eCAL Packages on PyPi #1161
Comments
For windows x64 we should be PyPi ready, as Windows has the most amazing binary compatibility of all Operating systems. So there really isn't an issue with publishing .whl files containing native .dlls For Linux we currently depend on too many system packages, I guess. The .whl files are just not self contained enough for being functional on a wide variety of Linux distros. |
You've probably already done the investigation; but it is certainly possible to generate the pb files as part of setup.py, I've been able to do a PoC of that process. Mostly involves injecting an extra subcommand into the main build command. You can look to Google's protobuf distutils and the newer (and pyproject compatible) setuptools-protobuf projects for inspiration (if they're not directly suitable). |
@DownerCase thanks for this great hint! Setuptools-protobuf seems really promising. |
That said I was commenting from a pure python standpoint. Given you’re calling into a CMake build system you should be able to set up an |
The good thing is that during build, we already have protobuf available. That's challenging with |
Context
We want to be able to do
for a seamless python integration.
However the wheels that we produce are not PyPi ready.
Proposal
We need to make a few changes to the build in order to make it pypi ready:
We will need hdf5 and protobuf submodules, and need to check the options for a proper build.
For linux build, build inside a manylinux docker image:
https://github.com/pypa/manylinux
Tasks and updates
_pb2
file generation had to be removed, they are no more installed to the package.Do we want them? It's certainly doable but might be a bit more work
The text was updated successfully, but these errors were encountered: