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

pyproject.toml will be needed to avoid warnign at install #208

Open
samuelgarcia opened this issue Oct 24, 2022 · 1 comment
Open

pyproject.toml will be needed to avoid warnign at install #208

samuelgarcia opened this issue Oct 24, 2022 · 1 comment

Comments

@samuelgarcia
Copy link

Hi Andrew,
with a fresh install I get this

  DEPRECATION: quantities 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

here also the pyproject.toml will be necessary I think.

@bjodah
Copy link
Contributor

bjodah commented Jan 12, 2023

While we are at it, we should drop distutils from setup.py too, (Python 3.12 alpha doesn't even include it any longer).
Also, building python3 wheels will pretty much come automatic which is nice since it will enable use of:

>>> %pip install -q quantities
ValueError: Can't find a pure Python 3 wheel for 'quantities'.
See: https://pyodide.org/en/stable/usage/faq.html#micropip-can-t-find-a-pure-python-wheel

in pyiodide kernels in e.g. jupyterlite

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

2 participants