Created
July 23, 2015 12:36
-
-
Save komeda-shinji/0443b13c7862fd9c07fb to your computer and use it in GitHub Desktop.
ReText patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -u ReText/__init__.py- ReText/__init__.py | |
--- ReText/__init__.py- 2014-07-26 17:12:13.000000000 +0900 | |
+++ ReText/__init__.py 2014-10-07 15:54:53.000000000 +0900 | |
@@ -32,7 +32,10 @@ | |
except enchant.errors.Error: | |
enchant_available = False | |
-icon_path = "icons/" | |
+#icon_path = "icons/" | |
+from distutils.sysconfig import get_python_lib | |
+module_dir = '%s/ReText' % get_python_lib() | |
+icon_path = '%s/icons/' % module_dir | |
DOCTYPE_NONE = '' | |
DOCTYPE_MARKDOWN = markups.MarkdownMarkup.name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment