Fix build error 00/248300/1 accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_9.0_unified accepted/tizen_unified sandbox/dh0128.kwak/python-gobject-3.36.1_20201125 tizen tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 tizen_9.0 accepted/tizen/6.5/unified/20211028.230546 accepted/tizen/7.0/unified/20221110.062434 accepted/tizen/7.0/unified/hotfix/20221116.111329 accepted/tizen/8.0/unified/20231005.095425 accepted/tizen/9.0/unified/20241030.234700 accepted/tizen/unified/20201126.022727 submit/tizen/20201123.064908 submit/tizen_6.5/20211028.163601 tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release tizen_9.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 25 Nov 2020 06:52:37 +0000 (15:52 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Wed, 25 Nov 2020 07:02:52 +0000 (16:02 +0900)
[   21s]   File "setup.py", line 1175, in run
[   21s]     content = content.replace("@%s@" % key, value)
[   21s] TypeError: coercing to Unicode: need string or buffer, NoneType found

Change-Id: I089ef03725dd4b227e4f5188da66167f93c62cec
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
setup.py

index 8a35829..df282b1 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -1167,8 +1167,8 @@ class install_pkgconfig(Command):
             content = h.read()
 
         config = {
             content = h.read()
 
         config = {
-            "prefix": self.install_base,
-            "exec_prefix": self.install_platbase,
+            "prefix": "/usr",
+            "exec_prefix": "",
             "includedir": "${prefix}/include",
             "datarootdir": "${prefix}/share",
             "datadir": "${datarootdir}",
             "includedir": "${prefix}/include",
             "datarootdir": "${prefix}/share",
             "datadir": "${datarootdir}",