Skip to content

Track packaged install breakage from hardcoded RCS_PREFIX #284

Description

@juelg

Summary

python/rcs/__init__.py currently sets:

RCS_PREFIX = os.path.join(os.path.dirname(__file__), "../../")

This works for editable installs, but it likely breaks standard wheel / non-editable installs because the resolved path escapes the installed package root and no longer points at packaged assets/.

Why this matters

Import-time asset resolution can fail for users who install via pip install . or from a built wheel, even though local editable development works.

Context

Follow-up ideas

  • package assets inside the Python package and resolve them with importlib.resources
  • or restore/install asset-copying logic so runtime paths stay inside the installed package
  • verify both editable and wheel installs in CI

Related PR: #283

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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