Skip to content

Add pyproject.toml or implement wheel-based distribution #72

Description

@C-Ezra-M

After installing from pip, I got this deprecation warning:

PowerShell session

This isn't related to the functionality of forbiddenfruit, but to how it's distributed via pip. In text, it looks like this:

PS C:\Users\Keyacom> py -m pip install forbiddenfruit
Collecting forbiddenfruit
  Downloading forbiddenfruit-0.1.4.tar.gz (43 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.8/43.8 kB 1.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Installing collected packages: forbiddenfruit
  DEPRECATION: forbiddenfruit is being installed using the legacy 'setup.py install' method, because it 
does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this 
behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found 
at https://github.com/pypa/pip/issues/8559
  Running setup.py install for forbiddenfruit ... done
Successfully installed forbiddenfruit-0.1.4

This basically says that once pip 23.1 comes out, this package must have pyproject.toml (PEP 518), or be distributed via wheels, as per PEP 517.

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