]> git.pld-linux.org Git - packages/calibre.git/blobdiff - calibre-env_module.patch
Up to 1.4.0
[packages/calibre.git] / calibre-env_module.patch
index e9c0cba266602040c5303416036d1085fc10d064..5ddc561b69f5f2c6d2054b7c9414da8d6c5d524a 100644 (file)
@@ -1,23 +1,10 @@
---- 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()
+--- calibre/setup/install.py.orig      2013-09-21 13:01:38.006926552 +0200
++++ calibre/setup/install.py   2013-09-21 13:30:29.042536094 +0200
+@@ -130,7 +130,6 @@ class Develop(Command):
+         self.write_templates()
          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',
+     def install_env_module(self):
This page took 0.065521 seconds and 4 git commands to generate.