mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
2366720739
Signed-off-by: Larry Hajali <larryhaja[at]gmail[dot]com>
14 lines
614 B
Diff
14 lines
614 B
Diff
diff -Naur calibre.orig/setup/install.py calibre/setup/install.py
|
|
--- calibre.orig/setup/install.py 2010-03-05 21:13:33.000000000 +0000
|
|
+++ calibre/setup/install.py 2010-03-07 00:07:41.000000000 +0000
|
|
@@ -142,7 +142,9 @@
|
|
|
|
def install_env_module(self):
|
|
import distutils.sysconfig as s
|
|
- libdir = s.get_python_lib(prefix=self.opts.staging_root)
|
|
+ libdir = s.get_python_lib(prefix=(self.opts.staging_root + sys.prefix))
|
|
+ if not os.path.exists(libdir):
|
|
+ os.makedirs(libdir)
|
|
try:
|
|
if not os.path.exists(libdir):
|
|
os.makedirs(libdir)
|