1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Stop using pkg_resources
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/1083523
Forwarded: no, it would crash on Macs
--- 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
|