Skip to content

--strip_py doesn't strip when concatenating dependencies  #12

@Tatskaari

Description

@Tatskaari

When we pass --strip_py to a python binary, one might expect all .py files to be stripped, not just the main file passed to the binary. This isn't true as these dependencies are concatenated directly onto the resulting zip. We would need to unpack them, and re-pack the pex file to do this though.

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