27 lines
950 B
Diff
27 lines
950 B
Diff
From 8558867d2ede525b8c5f61564b4f7ec3faa647ff Mon Sep 17 00:00:00 2001
|
|
From: Christopher Meng <i@cicku.me>
|
|
Date: Wed, 23 Jul 2014 21:24:53 +0800
|
|
Subject: [PATCH] PyMca-4.7.3-set-Fedora-specific-paths
|
|
|
|
---
|
|
setup.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/setup.py b/setup.py
|
|
index cd1ff24..e3fae11 100644
|
|
--- a/setup.py
|
|
+++ b/setup.py
|
|
@@ -42,8 +42,8 @@ global USE_SMART_INSTALL_SCRIPTS
|
|
# The sift module implements a patented algorithm. The algorithm can be used
|
|
# for non-commercial research purposes. If you do not want to distribute it
|
|
# with the PyMca sources you just need to delete the PyMca/sift directory.
|
|
-PYMCA_DATA_DIR = os.path.join('PyMca','PyMcaData')
|
|
-PYMCA_DOC_DIR = os.path.join('PyMca','PyMcaData')
|
|
+PYMCA_DATA_DIR = '/usr/share/PyMca'
|
|
+PYMCA_DOC_DIR = '/usr/share/doc/PyMca'
|
|
USE_SMART_INSTALL_SCRIPTS = False
|
|
if "--install-scripts" in sys.argv:
|
|
USE_SMART_INSTALL_SCRIPTS = True
|
|
--
|
|
2.0.1
|
|
|