1 --- calibre/setup/install.py~ 2010-05-21 11:18:18.236682966 +0200
2 +++ calibre/setup/install.py 2010-05-21 11:18:48.705841545 +0200
4 self.setup_mount_helper()
7 - self.install_env_module()
10 - def install_env_module(self):
11 - import distutils.sysconfig as s
12 - libdir = s.get_python_lib(prefix=self.opts.staging_root)
13 - if os.path.exists(libdir):
14 - path = os.path.join(libdir, 'init_calibre.py')
15 - self.info('Installing calibre environment module: '+path)
16 - with open(path, 'wb') as f:
17 - f.write(HEADER.format(**self.template_args()))
19 - self.warn('Cannot install calibre environment module to: '+libdir)
21 def setup_mount_helper(self):
23 self.warn('Failed to compile mount helper. Auto mounting of',