Skip to content

Using component without formally installing via pip #132

@gmweaver

Description

@gmweaver

Is it possible to incorporate a custom component without wrapping it into a formal Python package?

For context, we use Bazel for handling build dependencies and do not have formal pypi packages in our internal codebase, which is my reason for trying to avoid that step. The component works fine if I install, but is failing when I try to add the generated folder into my project.

I assume this may be related to the expected package_name when resolving resources (i.e. _js_dist) and the fact that the component folder is nested within the codebase. This could just be a Bazel problem, but wanted to check if I am missing anything or if pushing to pypi is my best option.

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