Skip to content

Enable client installation via pip #162

Description

@jakob1379

Based on the discussion linked below, updating the project definition in pyproject.toml may eliminate the need to build and manually package root-painter for distribution. This could enable direct installation of the root-painter GUI to the system launcher via pip install. Windows compatibility requires verification, but this simplifies user installation.

https://discuss.python.org/t/whats-the-status-of-scripts-vs-entry-points/18524/9

The files specified in scripts will end up in the wheel as-is at <project>-<version>.data/scripts/... These will end up in the bin directory of a Python virtual environment.

The entry_points specified in console_scripts will end up in a .txt file in the metadata folder (.dist-info) within the wheel. The latter get launcher files generated for them by the installer (i.e. pip) in a cross-platform manner.

This change could also remove the need to build a deb package, potentially broadening availability to system launchers beyond Debian.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions