From 803f2d68392a2a7274450d51187abf959f887319 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ionel=20Cristian=20M=C4=83rie=C8=99?= Date: Wed, 15 Dec 2021 16:40:39 +0200 Subject: [PATCH] Fix call and classifiers. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index cd46237..b27d7a5 100755 --- a/setup.py +++ b/setup.py @@ -67,7 +67,7 @@ def read(*names, **kwargs): class BinaryDistribution(Distribution): """Distribution which almost always forces a binary package with platform name""" def has_ext_modules(self): - return super.has_ext_modules() or os.environ.get('SETUPPY_ALLOW_PURE') + return super().has_ext_modules() or os.environ.get('SETUPPY_ALLOW_PURE') setup( @@ -100,7 +100,7 @@ def has_ext_modules(self): 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', - 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8',