aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-anyjson/0001-setup.py-Do-not-use-2to3.patch
blob: 2b9e6e52e85a01093b42afe537a5967a8df90ec1 (plain)
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
26
27
28
29
From 4fb61d7c621599b0db9c2c45f4243f07936c5953 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 13 Oct 2021 08:20:00 -0700
Subject: [PATCH] setup.py: Do not use 2to3

This helps compiling with setuptools 0.58+
and it seems to compile fine with python3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 setup.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/setup.py b/setup.py
index 9fe4902..f2098e1 100644
--- a/setup.py
+++ b/setup.py
@@ -2,8 +2,6 @@ import os
 import sys
 
 extra = {}
-if sys.version_info >= (3, 0):
-    extra.update(use_2to3=True)
 
 try:
     from setuptools import setup, find_packages
-- 
2.33.0