mcst-linux-kernel/patches-2024.06.26/python3-anyjson-0.3.3/0001-disable-use-2to3.patch

17 lines
348 B
Diff

Subject: fix building
Bug: 151512
Tags: common
diff -Naur a/setup.py b/setup.py
--- a/setup.py 2023-07-31 15:47:29.599128509 +0300
+++ b/setup.py 2023-07-31 15:47:49.843551563 +0300
@@ -2,8 +2,6 @@
import sys
extra = {}
-if sys.version_info >= (3, 0):
- extra.update(use_2to3=True)
try:
from setuptools import setup, find_packages