From 2034061af2958fa2d779337e30b0d52657f7e72d Mon Sep 17 00:00:00 2001 From: Thomas VINCENT Date: Fri, 5 Apr 2024 17:36:15 +0200 Subject: [PATCH] Remove python3.7 dependency code --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 042a7875..6bd21c9d 100644 --- a/setup.py +++ b/setup.py @@ -39,10 +39,7 @@ import sysconfig import tempfile import platform -if sys.version_info[:2] >= (3, 8): - from functools import cached_property -else: - cached_property = property # Fallback for Python 3.7 +from functools import cached_property from setuptools import setup, Distribution, Extension from setuptools.command.build_ext import build_ext from setuptools.command.build_py import build_py