python-pillow / Sane

Python interface to the SANE scanner and frame grabber
Other
54 stars 19 forks source link

Switched from deprecated "setup.py install" to "pip install ." #77

Closed radarhere closed 2 years ago

radarhere commented 2 years ago

Replaces setup.py install with pip install ., as per https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html

Or actually, python3 -m pip install ., using python3 to invoke pip so that it is clear that the pip being invoked is the one connected to python3. See https://github.com/python-pillow/Pillow/pull/4459.

I've also replaced python setup.py build with python3 setup.py build, to ensure that users are not using Python 2.

manisandro commented 2 years ago

Thanks