Keep the bindings private

This commit is contained in:
Marco Pesenti Gritti 2006-08-25 14:39:58 +02:00
parent 760651e3d7
commit 7646366553
7 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@ -36,6 +36,7 @@ po/stamp-it
po/sugar.pot
po/*.gmo
sugar/__installed__.py
sugar/__uninstalled__.py
tools/sugar-setup-activity
shell/PresenceService/org.laptop.Presence.service
threadframe

View File

@ -1,4 +1,4 @@
SUBDIRS = globalkeys threadframe
bindingsdir = $(pythondir)/sugar_bindings
bindingsdir = $(pkgdatadir)/bindings
bindings_PYTHON = __init__.py

View File

@ -4,7 +4,7 @@ INCLUDES = \
$(PYGTK_CFLAGS) \
$(GLOBALKEYS_CFLAGS)
globalkeysdir = $(pythondir)/sugar_bindings
globalkeysdir = $(pkgdatadir)/bindings
pkgpyexecdir = $(globalkeysdir)
pkgpyexec_LTLIBRARIES = globalkeys.la

View File

@ -53,6 +53,7 @@ shell/session/Makefile
shell/PresenceService/Makefile
sugar/Makefile
sugar/__installed__.py
sugar/__uninstalled__.py
sugar/activity/Makefile
sugar/canvas/Makefile
sugar/chat/Makefile

View File

@ -18,7 +18,7 @@ from sugar.activity import ActivityFactory
from sugar.activity import Activity
from FirstTimeDialog import FirstTimeDialog
from panel.PanelManager import PanelManager
from sugar_bindings.globalkeys import KeyGrabber
from globalkeys import KeyGrabber
from sugar import conf
import sugar.logger

View File

@ -5,5 +5,6 @@ sugar_services_dir = '@prefix@/share/sugar/services'
sugar_dbus_config = '@prefix@/share/sugar/dbus-installed.conf'
sugar_python_path = ['@prefix@/share/sugar/shell',
'@prefix@/share/sugar/bindings',
'@prefix@/share/sugar/activities']
sugar_bin_path = []

View File

@ -10,7 +10,7 @@ sugar_service_dir = __tmpdir
sugar_dbus_config = os.path.join(sugar_source_dir, 'dbus-uninstalled.conf')
sugar_python_path = []
sugar_python_path = ['@prefix@/share/sugar/bindings']
sugar_python_path.append(sugar_source_dir)
sugar_python_path.append(os.path.join(sugar_source_dir, 'shell'))
sugar_python_path.append(os.path.join(sugar_source_dir, 'activities'))