mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
python3-twofish: patch to use setuptools
setup.py bdist_wheel does not work with distutils (which is deprecated anyway). Add a patch to switch to setuptools to allow wheel to be built. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From fe10781bd15ed7a5c384dbf121f78f129995aa8f Mon Sep 17 00:00:00 2001
|
||||
From: Tim Orling <tim.orling@konsulko.com>
|
||||
Date: Sun, 27 Feb 2022 11:02:36 -0800
|
||||
Subject: [PATCH] setup.py: switch to setuptools
|
||||
|
||||
Upstream-Status: Submitted
|
||||
[https://github.com/keybase/python-twofish/pull/9]
|
||||
|
||||
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
|
||||
---
|
||||
setup.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index fcc9546..bfc3273 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -8,7 +8,7 @@ Copyright (c) 2013 Keybase
|
||||
setup.py - build and package info
|
||||
"""
|
||||
|
||||
-from distutils.core import setup, Extension
|
||||
+from setuptools import setup, Extension
|
||||
|
||||
twofish_module = Extension('_twofish',
|
||||
sources=['twofish-0.3/twofish.c', 'twofish.c'],
|
||||
Reference in New Issue
Block a user