diff options
author | Cedric Gustin <cedric.gustin@gmail.com> | 2006-06-28 09:01:19 +0000 |
---|---|---|
committer | Cedric Gustin <gustin@src.gnome.org> | 2006-06-28 09:01:19 +0000 |
commit | fc8007f765f81ca864fb8de72abc5a7b49357ec2 (patch) | |
tree | d6eaf64566eeb29068ba1e0f075785091cc9d070 /dsextras.py | |
parent | bbe3b88b3a15a15b5d015d9ef1911b1181032141 (diff) | |
download | pygobject-fc8007f765f81ca864fb8de72abc5a7b49357ec2.tar.gz pygobject-fc8007f765f81ca864fb8de72abc5a7b49357ec2.tar.xz pygobject-fc8007f765f81ca864fb8de72abc5a7b49357ec2.zip |
Set datarootdir in .pc file.
2006-06-28 Cedric Gustin <cedric.gustin@gmail.com>
* dsextras.py (InstallData): Set datarootdir in .pc file.
* pygobject_postinstall.py (replace_prefix): Do not parse
pygtk-codegen-2.0 as it is part of pygtk.
* setup.py: Create gobject extension as gobject._gobject. Add
pygoptioncontext.c and pygoptiongroup.c to the list of source
files. Add option.py to the module files. Changed name of
distutils package from pygtk to pygobject.
Diffstat (limited to 'dsextras.py')
-rw-r--r-- | dsextras.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dsextras.py b/dsextras.py index 0f8fa62..006e5d6 100644 --- a/dsextras.py +++ b/dsextras.py @@ -179,12 +179,14 @@ class InstallData(install_data): self.exec_prefix = '${prefix}/bin' self.includedir = '${prefix}/include' self.libdir = '${prefix}/lib' + self.datarootdir = '${prefix}/share' self.datadir = '${prefix}/share' self.add_template_option('prefix', self.prefix) self.add_template_option('exec_prefix', self.exec_prefix) self.add_template_option('includedir', self.includedir) self.add_template_option('libdir', self.libdir) + self.add_template_option('datarootdir', self.datarootdir) self.add_template_option('datadir', self.datadir) self.add_template_option('PYTHON', sys.executable) self.add_template_option('THREADING_CFLAGS', '') |