From 28bfae80bd8f4917bb6e96409ede77a842947e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Dudfield?= Date: Sun, 10 Oct 2021 08:57:37 +0200 Subject: [PATCH] setup.py: Add metadata, including python_requires 2.7 --- setup.py | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/setup.py b/setup.py index 7a813920da..09f3996485 100644 --- a/setup.py +++ b/setup.py @@ -22,6 +22,47 @@ "author_email": "pygame@pygame.org", "description": "Python Game Development", "long_description": LONG_DESCRIPTION, + "long_description_content_type": "text/x-rst", + "project_urls": { + "Documentation": "https://pygame.org/docs", + "Bug Tracker": "https://github.com/pygame/pygame/issues", + "Source": "https://github.com/pygame/pygame", + "Twitter": "https://twitter.com/pygame_org", + }, + "classifiers": [ + "Development Status :: 6 - Mature", + "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", + "Programming Language :: Assembly", + "Programming Language :: C", + "Programming Language :: Cython", + "Programming Language :: Objective C", + "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Implementation :: PyPy", + "Topic :: Games/Entertainment", + "Topic :: Multimedia :: Sound/Audio", + "Topic :: Multimedia :: Sound/Audio :: MIDI", + "Topic :: Multimedia :: Sound/Audio :: Players", + "Topic :: Multimedia :: Graphics", + "Topic :: Multimedia :: Graphics :: Capture :: Digital Camera", + "Topic :: Multimedia :: Graphics :: Capture :: Screen Capture", + "Topic :: Multimedia :: Graphics :: Graphics Conversion", + "Topic :: Multimedia :: Graphics :: Viewers", + "Operating System :: Microsoft :: Windows", + "Operating System :: POSIX", + "Operating System :: Unix", + "Operating System :: MacOS", + ], + "python_requires": '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', } import re