x11/py-pyscreenshot: Fix build with setuptools 58.0.0+

With hat:	python
This commit is contained in:
Po-Chuan Hsieh 2022-03-25 21:35:28 +08:00
parent 2111cfd73e
commit cc5569061a
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -0,0 +1,12 @@
--- setup.py.orig 2018-11-01 17:14:50 UTC
+++ setup.py
@@ -23,9 +23,6 @@ exec(open(os.path.join(NAME, 'about.py')).read())
VERSION = __version__
extra = {}
-if sys.version_info >= (3,):
- extra['use_2to3'] = True
- extra['use_2to3_exclude_fixers'] = ['lib2to3.fixes.fix_import']
classifiers = [
# Get more strings from