diff options
author | John (J5) Palmieri <johnp@redhat.com> | 2011-09-15 15:52:18 -0400 |
---|---|---|
committer | John (J5) Palmieri <johnp@redhat.com> | 2011-09-15 15:52:18 -0400 |
commit | 7e48fd6dfd86b7082c3fd35d25d9693c56c9665a (patch) | |
tree | 1bf1fefbf40db5bb6eac0623fb5664ff16fd20dd /pygobject-3.0.pc.in | |
parent | beea7072a5a989be47a755ac46647380d4dbd6b4 (diff) | |
download | pygobject-7e48fd6dfd86b7082c3fd35d25d9693c56c9665a.tar.gz |
remove overridesdir from the .pc file and add it to the gi module
* having the variable in the .pc file caused issues parallel installing
for different versions of python
* putting it into the module allows us to give the correct directory
based on which version of python you run the script from
* access the var as such:
import gi
installdir = gi._overridesdir
Diffstat (limited to 'pygobject-3.0.pc.in')
-rw-r--r-- | pygobject-3.0.pc.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pygobject-3.0.pc.in b/pygobject-3.0.pc.in index 7b079e66..3c7af011 100644 --- a/pygobject-3.0.pc.in +++ b/pygobject-3.0.pc.in @@ -9,7 +9,6 @@ libdir=@libdir@ # pkg-config to get this value. You might want to use this to # install additional headers. pygobjectincludedir=${includedir}/pygobject-3.0 -overridesdir=@pyexecdir@/gi/overrides Name: PyGObject Description: Python bindings for GObject @@ -17,3 +16,12 @@ Requires: gobject-2.0 Requires.private: @LIBFFI_PC@ Version: @VERSION@ Cflags: -I${pygobjectincludedir} + +# overridesdir has now moved to the gi module +# third parties can access it in a python script: +# +# import gi +# installdir = gi._overridesdir +# +# the version of python you run the script from +# will determine the actual overrides path |