6420a976d3
Add debian packaging infrastructure for virt/libvirt-python to build a debian package. Verification: - Built pkg - Built image Story: 2009101 Task: 44082 Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com> Change-Id: I98e92b0dc095013ba452ec6bcf525f0e977c721a
32 lines
952 B
Diff
32 lines
952 B
Diff
From 7852fd8ab1653363e33910571c4fad2bc0b3de21 Mon Sep 17 00:00:00 2001
|
|
From: Leonardo Fagundes Luz Serrano
|
|
<Leonardo.FagundesLuzSerrano@windriver.com>
|
|
Date: Wed, 5 Jan 2022 14:39:18 -0300
|
|
Subject: [PATCH] Fix setup function import to support building wheel
|
|
|
|
In order to build the python wheel version of the pkg,
|
|
the setup function used should be provided by the
|
|
setuptools library.
|
|
|
|
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
|
|
---
|
|
setup.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index a02535d..0bcb83c 100755
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -1,6 +1,7 @@
|
|
#!/usr/bin/env python3
|
|
|
|
-from distutils.core import setup, Extension, Command
|
|
+from setuptools import setup
|
|
+from distutils.core import Extension, Command
|
|
from distutils.command.build import build
|
|
from distutils.command.clean import clean
|
|
from distutils.command.sdist import sdist
|
|
--
|
|
2.17.1
|
|
|