Browse Source

makewheel: use all supported Python versions as classifier

Otherwise, PyPI wil pick the ones for the first uploaded wheel, which means that Panda3D will not be indexed under all Python versions on PyPI.

Also add a few more classifiers.
rdb 7 years ago
parent
commit
83e41262bd
2 changed files with 11 additions and 5 deletions
  1. 0 5
      makepanda/makewheel.py
  2. 11 0
      setup.cfg

+ 0 - 5
makepanda/makewheel.py

@@ -526,11 +526,6 @@ def makewheel(version, output_dir, platform=None):
 
 
     # Update relevant METADATA entries
     # Update relevant METADATA entries
     METADATA['version'] = version
     METADATA['version'] = version
-    version_classifiers = [
-        "Programming Language :: Python :: {0}".format(*sys.version_info),
-        "Programming Language :: Python :: {0}.{1}".format(*sys.version_info),
-    ]
-    METADATA['classifiers'].extend(version_classifiers)
 
 
     # Build out the metadata
     # Build out the metadata
     details = METADATA["extensions"]["python.details"]
     details = METADATA["extensions"]["python.details"]

+ 11 - 0
setup.cfg

@@ -13,10 +13,21 @@ classifiers =
     Operating System :: OS Independent
     Operating System :: OS Independent
     Programming Language :: C++
     Programming Language :: C++
     Programming Language :: Python
     Programming Language :: Python
+    Programming Language :: Python :: 2
+    Programming Language :: Python :: 2.7
+    Programming Language :: Python :: 3
+    Programming Language :: Python :: 3.4
+    Programming Language :: Python :: 3.5
+    Programming Language :: Python :: 3.6
+    Programming Language :: Python :: 3.7
+    Programming Language :: Python :: Implementation :: CPython
     Topic :: Games/Entertainment
     Topic :: Games/Entertainment
     Topic :: Multimedia
     Topic :: Multimedia
     Topic :: Multimedia :: Graphics
     Topic :: Multimedia :: Graphics
     Topic :: Multimedia :: Graphics :: 3D Rendering
     Topic :: Multimedia :: Graphics :: 3D Rendering
+    Topic :: Software Development :: Libraries
+    Topic :: Software Development :: Libraries :: Application Frameworks
+    Topic :: Software Development :: Libraries :: Python Modules
 author = Panda3D Team
 author = Panda3D Team
 author_email = [email protected]
 author_email = [email protected]