Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Support installs without EASY-INSTALL-ENTRY-SCRIPT #486

Description

@nikitalita

easy_install has been deprecated: https://setuptools.pypa.io/en/latest/deprecated/easy_install.html

Sometime this month, the default behavior of pip changed (I can't find documentation on WHEN exactly it changed, or what version, I spend a couple hours banging my head against the wall to try and figure that out).

If a pyproject.toml is present in addition to setup.cfg, and if installing as editable, it will install using pyproject.toml. This means that it will no longer create the EASY-INSTALL-ENTRY-SCRIPT that gravitybee relies on for creating the standalone binary. On Windows, it will only create the exe without the entry script. This means gravitybee will fail to build the standalone binary when it can't find the script.

See this issue for more details: miurahr/aqtinstall#556

Given that easy_install is deprecated and support will be dropped entirely in the near future, there's a great chance that this script will just not be created at all in the future with pip installs.

So, that means that gravitybee will have to implement an alternative to just using that script; perhaps it could automatically generate one based on how setuptools does it now? It doesn't look too complicated and seems to be fairly standard for all packages installed.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions