You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is building a standalone wheel a supported feature, or something that is reserved for CI builds? It would be a very appreciated feature to have, but when I try
STANDALONE_WHEELS=1 pip wheel --no-deps .
the wheel build succeeds, but attempting to use it fails with:
tonic@funbox:~/src/cyclonedds-python/ex$ python -c 'from cyclonedds.tools.wheel_idlc import command; command()' -l py asdf.idl
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/tonic/src/cyclonedds-python/ex/cyclonedds/__init__.py", line 13, in <module>
from . import internal, util, qos, core, domain, topic, pub, sub, builtin, dynamic, idl
File "/home/tonic/src/cyclonedds-python/ex/cyclonedds/internal.py", line 25, in <module>
from .__library__ import library_path, in_wheel
File "/home/tonic/src/cyclonedds-python/ex/cyclonedds/__library__.py", line 21, in <module>
library_path = list((dir / ".." / "cyclonedds.libs").glob("libddsc*"))[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
Looking closer at the built .whl, there is no cyclonedds.libs directory, but there is one named .libs. Am I perhaps using the wrong tools here? Inside the packaged .libs directory there is an idlc executable, but just not as self-contained as I had hoped, the dependencies don't match what is packaged:
Shouldn't libcycloneddsidl.so.0 also be packaged with the wheel along idlc? Also, the packaged libddsc.so seems to have wrong name, the linker looks for a libddsc.so.0.
Tested under Linux, x86_64, python 3.11.2 with a somewhat recent CycloneDDS master.
The text was updated successfully, but these errors were encountered:
Hi, is building a standalone wheel a supported feature, or something that is reserved for CI builds? It would be a very appreciated feature to have, but when I try
STANDALONE_WHEELS=1 pip wheel --no-deps .
the wheel build succeeds, but attempting to use it fails with:
Looking closer at the built .whl, there is no
cyclonedds.libs
directory, but there is one named.libs
. Am I perhaps using the wrong tools here? Inside the packaged.libs
directory there is anidlc
executable, but just not as self-contained as I had hoped, the dependencies don't match what is packaged:Shouldn't
libcycloneddsidl.so.0
also be packaged with the wheel along idlc? Also, the packagedlibddsc.so
seems to have wrong name, the linker looks for alibddsc.so.0
.Tested under Linux, x86_64, python 3.11.2 with a somewhat recent CycloneDDS master.
The text was updated successfully, but these errors were encountered: