fix distcheck
Original commit message from CVS: fix distcheck
This commit is contained in:
parent
51a7c6de63
commit
03203aa89e
@ -11,7 +11,7 @@ EXTRA_DIST = \
|
|||||||
|
|
||||||
include $(top_srcdir)/common/release.mak
|
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
|
if test -f $@; then chmod +w $@; fi
|
||||||
sed -e "s|@PYGSTDIR\@|$(shell pwd)|g" \
|
sed -e "s|@PYGSTDIR\@|$(shell pwd)|g" \
|
||||||
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \
|
-e "s|@GST_MAJORMINOR\@|$(GST_MAJORMINOR)|g" \
|
||||||
|
@ -75,12 +75,13 @@ class Fraction(Value):
|
|||||||
return '<gst.Fraction %d/%d>' % (self.num, self.denom)
|
return '<gst.Fraction %d/%d>' % (self.num, self.denom)
|
||||||
|
|
||||||
from _gst import *
|
from _gst import *
|
||||||
|
import interfaces
|
||||||
|
|
||||||
# this restores previously installed importhooks, so we don't interfere
|
# this restores previously installed importhooks, so we don't interfere
|
||||||
# with other people's module importers
|
# with other people's module importers
|
||||||
# it also clears out the module completely as if it were never loaded,
|
# it also clears out the module completely as if it were never loaded,
|
||||||
# so that if anyone else imports ltihooks the hooks get installed
|
# so that if anyone else imports ltihooks the hooks get installed
|
||||||
if __ltihooks_used__:
|
if __ltihooks_used__:
|
||||||
import gst.interfaces as interfaces
|
|
||||||
ltihooks.uninstall()
|
ltihooks.uninstall()
|
||||||
__ltihooks_used__ = False
|
__ltihooks_used__ = False
|
||||||
del ltihooks
|
del ltihooks
|
||||||
|
Loading…
x
Reference in New Issue
Block a user