Skip to content

README library-only installation option may no longer work with current packaging #481

Open

Description

@zhue1

The README documents setting TABULATE_INSTALL=lib-only when installing tabulate so that only the Python library is installed. It gives commands for Unix-like systems and Windows.

However, the repository's current pyproject.toml uses flit_scm:buildapi and declares a console entry point unconditionally:

[project.scripts]
tabulate = "tabulate.cli:_main"

I could not find a corresponding setting in the current packaging configuration that uses TABULATE_INSTALL to disable this entry point. The README option may be left over from a previous build system.

Relevant files:

Expected behavior

Using the documented library-only installation option should omit the tabulate executable, or the README should clarify that the option is no longer supported.

Suggested verification

In a fresh virtual environment, compare two installs built from the current source: one with the TABULATE_INSTALL=lib-only environment variable and one without it. Then inspect the generated console entry point, such as in the environment's bin or Scripts directory. This would confirm whether the environment variable changes what gets installed.

Suggested improvement

If the setting is no longer supported, remove the library-only installation examples or explain the behavior supported by the current build system. If it is supported, it would help to document where the conditional behavior is implemented.

Scope

This report is based on a comparison of the README and the current packaging configuration. I have not run a clean installation from the current repository, so I am reporting a documentation inconsistency to verify rather than a confirmed installation failure.

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