From 89cf5c0da0e16fec90c15fa894102b4f1e26602e Mon Sep 17 00:00:00 2001 From: Kyle Gottfried Date: Sat, 27 May 2023 08:39:41 -0400 Subject: [PATCH] Build wheel against py3 only (#1098) * Build wheel against py3 only * put everything in setup.py --- setup.cfg | 2 -- setup.py | 6 ++++-- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 2a9acf13d..000000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal = 1 diff --git a/setup.py b/setup.py index 106d2b10f..025ecda35 100644 --- a/setup.py +++ b/setup.py @@ -52,6 +52,9 @@ def run(self): author='Google Inc.', maintainer='Bill Wendling', maintainer_email='morbo@google.com', + options={'bdist_wheel': { + 'python_tag': 'py3' + }}, packages=find_packages('.'), project_urls={ 'Source': 'https://github.com/google/yapf', @@ -63,13 +66,12 @@ def run(self): 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', - 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', ],