1 From 5f843f7c8554e2feab7f57d8718231408196fd80 Mon Sep 17 00:00:00 2001
2 From: Michael Weiss <dev.primeos@gmail.com>
3 Date: Fri, 1 Nov 2019 18:47:14 +0100
4 Subject: [PATCH] setup.py: Fix the setuptools version check
6 This broke the Nix build after setuptools.__version__ changed from
7 "41.2.0" to "41.4.0.post20191022".
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/setup.py b/setup.py
13 index 0d987d5c..4f625d7c 100644
16 @@ -63,7 +63,7 @@ try:
18 setup, Command = setuptools.setup, setuptools.Command
20 - observed_version = [int(x) for x in setuptools.__version__.split('.')]
21 + observed_version = [int(x) for x in setuptools.__version__.split('.')[0:3]]
22 required_version = [36, 2, 0]
24 # NOTE(etingof): require fresh setuptools to build proper wheels