Move terminator*.pyc to terminatorlib. Teach setup.py about the change.

This commit is contained in:
Thomas Hurst 2008-05-21 11:17:55 +01:00
parent 4c7d047a84
commit 9ef585a7b7
5 changed files with 7 additions and 7 deletions

View File

@ -84,7 +84,7 @@ setup(name='Terminator',
('share/icons/hicolor/24x24/apps', glob.glob('data/icons/24x24/apps/*.png')),
('share/icons/hicolor/48x48/apps', glob.glob('data/icons/48x48/apps/*.png')),
],
py_modules=['terminatorconfig', 'terminatorencoding'],
packages=['terminatorlib'],
cmdclass={'build': BuildData, 'install_data': InstallData}
)

View File

@ -36,11 +36,11 @@ except:
import pwd
# import our configuration loader
import terminatorconfig
from terminatorconfig import dbg
from terminatorlib import config
from terminatorlib.config import dbg
#import encoding list
from terminatorencoding import TerminatorEncoding
from terminatorlib.encoding import TerminatorEncoding
# import gtk libs
# check just in case anyone runs it on a non-gnome system.
@ -632,17 +632,17 @@ class Terminator:
self._fullscreen = False
self.term_list = []
stores = []
stores.append (terminatorconfig.TerminatorConfValuestoreRC ())
stores.append (config.TerminatorConfValuestoreRC ())
try:
import gconf
store = terminatorconfig.TerminatorConfValuestoreGConf ()
store = config.TerminatorConfValuestoreGConf ()
store.set_reconfigure_callback (self.reconfigure_vtes)
stores.append (store)
except:
pass
self.conf = terminatorconfig.TerminatorConfig (stores)
self.conf = config.TerminatorConfig (stores)
self.window = gtk.Window ()
self.window.set_title (APP_NAME.capitalize())

View File