Skip to content

--symlink-install ignores build_scripts executable option in setup.py #694

@aaron-riact

Description

@aaron-riact

if I add a

    options={
        'build_scripts': {
            'executable': '/usr/bin/env python3',
        },
    },

to the setup.py, then I get all my console_scripts with a lovely #!/usr/bin/env python3 shebang when I colcon build without --symlink-install

But if I add --symlink-install to the colcon build command, the shebang returns to being #!/usr/bin/python3

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