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
|
Description: Keep Xshm compiled extension in ueberzug directory
Author: Nick Morrott <nickm@debian.org>
Forwarded: not-needed
Last-Update: 2022-03-29
---
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,7 @@
},
ext_modules=[
distutils.core.Extension(
- "Xshm", ["Xshm/Xshm.c"], libraries=["X11", "Xext"]),
+ "ueberzug.Xshm", ["Xshm/Xshm.c"], libraries=["X11", "Xext"]),
],
# Versions should comply with PEP 440:
--- a/ueberzug/ui.py
+++ b/ueberzug/ui.py
@@ -13,7 +13,7 @@
import ueberzug.xutil as xutil
import ueberzug.geometry as geometry
import ueberzug.scaling as scaling
-import Xshm
+from . import Xshm
def roundup(value, unit):
|