mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
fix distcheck
Original commit message from CVS: fix distcheck
This commit is contained in:
parent
51a7c6de63
commit
03203aa89e
2 changed files with 3 additions and 2 deletions
|
@ -11,7 +11,7 @@ EXTRA_DIST = \
|
|||
|
||||
include $(top_srcdir)/common/release.mak
|
||||
|
||||
pygst.py: pygst.py.in Makefile
|
||||
pygst.py: $(top_srcdir)/pygst.py.in Makefile
|
||||
if test -f $@; then chmod +w $@; fi
|
||||
sed -e "s|@PYGSTDIR\@|$(shell pwd)|g" \
|
||||
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \
|
||||
|
|
|
@ -75,12 +75,13 @@ class Fraction(Value):
|
|||
return '<gst.Fraction %d/%d>' % (self.num, self.denom)
|
||||
|
||||
from _gst import *
|
||||
import interfaces
|
||||
|
||||
# this restores previously installed importhooks, so we don't interfere
|
||||
# with other people's module importers
|
||||
# it also clears out the module completely as if it were never loaded,
|
||||
# so that if anyone else imports ltihooks the hooks get installed
|
||||
if __ltihooks_used__:
|
||||
import gst.interfaces as interfaces
|
||||
ltihooks.uninstall()
|
||||
__ltihooks_used__ = False
|
||||
del ltihooks
|
||||
|
|
Loading…
Reference in a new issue