Skip to content

Store codegen result for python code in build folder #206

Open

Description

@Flova

Building a setup.py based setup results in code being generated in the source folder.

A cleaner approach would be probably to store this not in the src directory. This would also be more consistent with the way the cpp package is build.

Are there any non-obvious issues preventing this behavior?

Activity

  1. pac48 commented on Nov 15, 2024

    @pac48
    Contributor

    Are you building with colcon and symlink-install? In that case, the generated code is symlinked to the src directory by colcon and I’m not sure if there is a way around that.

  2. christophfroehlich commented on Jan 30, 2026

    @christophfroehlich
    Collaborator

    Cross-reference: #233 (comment)

  3. christophfroehlich commented on Apr 18, 2026

    @christophfroehlich
    Collaborator

    I vibe-coded a possible fix for this in #348. @Flova could you have a look, test it, and leave a review if the GPT-generated code makes sense?

  4. linked a pull request that will close this issueFix install paths #348on May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions