asweigart / pyperclip

Python module for cross-platform clipboard functions.
https://pypi.python.org/pypi/pyperclip
BSD 3-Clause "New" or "Revised" License
1.65k stars 196 forks source link

Add wheel/pyproject.toml? #238

Open iamjameswalters opened 1 year ago

iamjameswalters commented 1 year ago

Hi there! 👋

When installing Pyperclip with pip 22.3.1 on Python 3.10, I got a deprecation warning:

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

If I'm reading this right, pip would either like to read a pyproject.toml, or otherwise have a wheel to install.

Don't know what your preferred solution would be, but I just thought I'd bring this to your attention. Thanks for the convenient library!

aaltat commented 1 year ago

I also see the same error with Python 3.11 and pip 22.3.1

martinmiglio commented 1 year ago

bump

hugovk commented 1 year ago

See also https://github.com/asweigart/pyperclip/issues/213 and https://github.com/asweigart/pyperclip/issues/232.