From 1386b9a3fa141b69e5e9dd3ce0cf29ffabdb9a49 Mon Sep 17 00:00:00 2001 From: Christoph Noetel <88427028+ChristophNoetel@users.noreply.github.com> Date: Thu, 16 Apr 2026 18:28:10 +0200 Subject: [PATCH] fix: add python_requires and classifiers to setup.py (#139) --- setup.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ad51427..ae3250d 100644 --- a/setup.py +++ b/setup.py @@ -4,7 +4,6 @@ import fitparse -requires = None if sys.version_info < (3, 6): sys.exit("Python 3.6+ is required.") @@ -19,5 +18,20 @@ license=open('LICENSE').read(), packages=['fitparse'], scripts=['scripts/fitdump'], # Don't include generate_profile.py - install_requires=requires, + python_requires='>=3.6', + classifiers=[ + 'Development Status :: 5 - Production/Stable', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: MIT License', + 'Programming Language :: Python :: 3', + '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.12', + 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3 :: Only', + 'Topic :: Scientific/Engineering', + ], )