asweigart / pyautogui

A cross-platform GUI automation Python module for human beings. Used to programmatically control the mouse & keyboard.
BSD 3-Clause "New" or "Revised" License
10.22k stars 1.24k forks source link

Add python_requires to setup.py #701

Open Carreau opened 2 years ago

Carreau commented 2 years ago

From the reddit discussion you talk about dropping Python versions.

Regardless of your choices, you should really add python_requires to setup.py, this way when you release a new version that is not compatible with say Python 3.4, then the users of Python 3.4 or below will not get the new incompatible version, which will make the transition much smoother.

I also strongly recommend to add something like this in setup.py to give informative messages for folks with old pip.

See also https://python3statement.org/practicalities/