--- calibre/setup/install.py~ 2010-05-21 11:18:18.236682966 +0200 +++ calibre/setup/install.py 2010-05-21 11:18:48.705841545 +0200 @@ -132,20 +132,8 @@ self.setup_mount_helper() self.install_files() self.run_postinstall() - self.install_env_module() self.success() - def install_env_module(self): - import distutils.sysconfig as s - libdir = s.get_python_lib(prefix=self.opts.staging_root) - if os.path.exists(libdir): - path = os.path.join(libdir, 'init_calibre.py') - self.info('Installing calibre environment module: '+path) - with open(path, 'wb') as f: - f.write(HEADER.format(**self.template_args())) - else: - self.warn('Cannot install calibre environment module to: '+libdir) - def setup_mount_helper(self): def warn(): self.warn('Failed to compile mount helper. Auto mounting of',