Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
C-Ezra-M opened this issue Oct 30, 2022 · 0 comments
Open

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

C-Ezra-M opened this issue Oct 30, 2022 · 0 comments

Comments

@C-Ezra-M
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant