summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-17 21:39:35 +0900
committerMichele Calgaro <[email protected]>2025-01-17 21:39:35 +0900
commitecdb0099bd14fc440a09219bd3df5672208c483c (patch)
treef9ab65d9e371918e00e93832c9c556255974418c
parent195afb9edf487be58006652b2dc3d9b6337a8eb0 (diff)
downloadpytdeextensions-ecdb0099bd14fc440a09219bd3df5672208c483c.tar.gz
pytdeextensions-ecdb0099bd14fc440a09219bd3df5672208c483c.zip
Fix FTBFS caused by 'mkpath' returning nothingHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
-rwxr-xr-xsetup.py3
-rw-r--r--src/tdedistutils.py18
2 files changed, 14 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index fa41586..8690ffa 100755
--- a/setup.py
+++ b/setup.py
@@ -318,6 +318,7 @@ class InstallLibpythonize(Command):
return self.outfiles
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
main()
diff --git a/src/tdedistutils.py b/src/tdedistutils.py
index e8cd35e..8487708 100644
--- a/src/tdedistutils.py
+++ b/src/tdedistutils.py
@@ -373,7 +373,8 @@ class InstallApplicationDataAndLinks(install_data):
self.outfiles.extend( [item+'c' for item in self.outfiles if item.endswith('.py')] )
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
###########################################################################
class InstallExecutableLinks(Command):
@@ -415,7 +416,8 @@ class InstallExecutableLinks(Command):
return self.outfiles or []
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
###########################################################################
# Fix the --root option for the install_lib command.
@@ -1121,7 +1123,8 @@ class InstallKControlModule(Command):
return self.outfiles or []
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
###########################################################################
class BuildDocbookHTML(Command):
@@ -1240,7 +1243,8 @@ class InstallDocbookHTML(Command):
return self.outfiles or []
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
###########################################################################
class UpdateI18NMessages(Command):
@@ -1431,7 +1435,8 @@ class InstallI18NMessages(Command):
return self.outfiles
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
###########################################################################
@@ -2000,7 +2005,8 @@ class InstallTdeioslave(Command):
return self.outfiles or []
def mkpath(self, name, mode=0o777):
- return dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ dir_util.mkpath(name, mode, dry_run=self.dry_run)
+ return name
###########################################################################
class CheckPyTQt(Command):