Skip to content
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

fix setuptool run dependencies in cmake_build_extension #49

Open
PaulRousse opened this issue Jul 11, 2022 · 2 comments
Open

fix setuptool run dependencies in cmake_build_extension #49

PaulRousse opened this issue Jul 11, 2022 · 2 comments
Assignees

Comments

@PaulRousse
Copy link
Collaborator

pyopendds uses cmake_build_extension at run time
cmake_build_extension setuptools at run time

@Sdpierret
Copy link
Owner

setuptools is a pre-requisite for development platform.
adding cmake_build_extension on pyopendds on runtime will add build packages on runtime

@p-e-s
Copy link
Collaborator

p-e-s commented Jul 20, 2022

The problem is that applications fail at runtime because setuptools is not found. The error is the following:
-- Logs begin at Tue 2022-07-19 16:30:26 UTC, end at Wed 2022-07-20 06:24:14 UTC. --
juil. 20 06:15:09 SC-01.local systemd[1]: Started Dragonfly DDS to DDS.
juil. 20 06:15:09 SC-01.local python3[1484]: Traceback (most recent call last):
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/bin/GenericDDStoDDS.py", line 11, in
juil. 20 06:15:09 SC-01.local python3[1484]: from pytinydds import TinyDDS, TinyDdsConfig, TinyDdsDiscoveryConfig
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/pytinydds/init.py", line 1, in
juil. 20 06:15:09 SC-01.local python3[1484]: from .tinydds import TinyDDS,TinyDdsQosType, TinyDdsDiscoveryConfig, TinyDdsConfig
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/pytinydds/tinydds.py", line 14, in
juil. 20 06:15:09 SC-01.local python3[1484]: from pyopendds import
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/pyopendds/init.py", line 9, in
juil. 20 06:15:09 SC-01.local python3[1484]: from .DomainParticipant import DomainParticipant
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/pyopendds/DomainParticipant.py", line 3, in
juil. 20 06:15:09 SC-01.local python3[1484]: from .Topic import Topic
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/pyopendds/Topic.py", line 8, in
juil. 20 06:15:09 SC-01.local python3[1484]: from _pyopendds import create_topic
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/_pyopendds/init.py", line 1, in
juil. 20 06:15:09 SC-01.local python3[1484]: import cmake_build_extension as _cmake_build_extension
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/cmake_build_extension/init.py", line 5, in

juil. 20 06:15:09 SC-01.local python3[1484]: from . import build_ext_option, sdist_command
juil. 20 06:15:09 SC-01.local python3[1484]: File "/usr/lib/python3/dist-packages/cmake_build_extension/build_ext_option.py", line 3, in
juil. 20 06:15:09 SC-01.local python3[1484]: from setuptools.command.build_ext import build_ext
juil. 20 06:15:09 SC-01.local python3[1484]: ModuleNotFoundError: No module named 'setuptools'
juil. 20 06:15:09 SC-01.local systemd[1]: [email protected]: Main process exited, code=exited, status=1/FAILURE
juil. 20 06:15:09 SC-01.local systemd[1]: [email protected]: Failed with result 'exit-code'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants