[pygtk] setup.py: don't install pygtk.pth here as we depend on pygobject at runtime which is already resposi
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygtk] setup.py: don't install pygtk.pth here as we depend on pygobject at runtime which is already resposi
- Date: Thu, 4 Nov 2010 22:47:36 +0000 (UTC)
commit 9c529bfae84f5318d1184d1050417f5482986044
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Thu Nov 4 10:29:25 2010 +0100
setup.py: don't install pygtk.pth here as we depend on pygobject at runtime which is already resposible for the installation of pygtk.pth and pygtk.py[c]
setup.py | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/setup.py b/setup.py
index be8c137..3d2266b 100755
--- a/setup.py
+++ b/setup.py
@@ -86,9 +86,6 @@ HTML_DIR = os.path.join('share', 'gtk-doc', 'html', 'pygtk')
class PyGtkInstallLib(InstallLib):
def run(self):
- # Install pygtk.pth, pygtk.py[c] and templates
- self.install_pth()
-
# Modify the base installation dir
install_dir = os.path.join(self.install_dir, PYGTK_SUFFIX_LONG)
self.set_install_dir(install_dir)
@@ -98,14 +95,6 @@ class PyGtkInstallLib(InstallLib):
InstallLib.run(self)
- def install_pth(self):
- '''Write the pygtk.pth file'''
- file = os.path.join(self.install_dir, 'pygtk.pth')
- self.mkpath(self.install_dir)
- open(file, 'w').write(PYGTK_SUFFIX_LONG)
- self.local_outputs.append(file)
- self.local_inputs.append('pygtk.pth')
-
def copy_test(self, srcfile, dstfile=None):
if dstfile is None:
dstfile = os.path.join(self.test_dir, srcfile)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]