From 9be18e0c2cafd448cc42c01f0140c8cfad904020 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Tue, 28 Jan 2025 22:18:06 +0000 Subject: [PATCH] Stop using pkg_resources Author: Rebecca N. Palmer Bug-Debian: https://bugs.debian.org/1083523 Forwarded: no, it would crash on Macs Gbp-Pq: Name no_pkg_resources.patch --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 42b1cb3b..0c4860ca 100755 --- a/setup.py +++ b/setup.py @@ -16,7 +16,6 @@ import sys from sysconfig import get_config_vars import numpy -from pkg_resources import parse_version from setuptools import ( Command, Extension, @@ -46,7 +45,7 @@ try: ) from Cython.Build import cythonize - _CYTHON_INSTALLED = parse_version(_CYTHON_VERSION) >= parse_version(min_cython_ver) + _CYTHON_INSTALLED = True except ImportError: _CYTHON_VERSION = None _CYTHON_INSTALLED = False -- 2.30.2