From 910c5f5807d07012de052cd730b376eea9386bb0 Mon Sep 17 00:00:00 2001 From: Debian Science Team Date: Mon, 21 Oct 2024 19:43:11 +0100 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