blob: b57e39fbcc8a01b50fe451b15ea46b15d252bfe8 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From 2ddc97b30792817d162f51ec3818376aefbf184e Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 3 May 2017 02:05:33 -0400
4Subject: [PATCH] remove python2 support
5
6We use python3 rather than python2 support
7
8Upstream-Status: Inappropriate [oe specific]
9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11---
12 src/python/Makefile.am | 5 -----
13 1 file changed, 5 deletions(-)
14
15diff --git a/src/python/Makefile.am b/src/python/Makefile.am
16index 567d0d7..8d9f446 100644
17--- a/src/python/Makefile.am
18+++ b/src/python/Makefile.am
19@@ -1,8 +1,3 @@
20-pylibdir = $(shell python -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
21-
22-pybytesizedir = $(pylibdir)/bytesize
23-dist_pybytesize_DATA = bytesize.py __init__.py
24-
25 if WITH_PYTHON3
26 py3libdir = $(shell python3 -c "import distutils.sysconfig; print(distutils.sysconfig.get_python_lib(1,0,prefix='${exec_prefix}'))")
27 py3bytesizedir = $(py3libdir)/bytesize
28--
292.8.1
30