Hi,
Can someone explain to me, how could happen this?
I only opened LeoPyRef.leo in Leo and saved it (Ctrl + S). No changes at
all, but got a surprising diff:
diff --git a/leo/core/LeoPyRef.leo b/leo/core/LeoPyRef.leo
index 8601387..258bb9c 100644
--- a/leo/core/LeoPyRef.leo
+++ b/leo/core/LeoPyRef.leo
@@ -1621,8 +1621,8 @@ unl: class Ui_LeoQuickSearchWidget-->retranslateUi
<t tx="ekr.20151226101445.5"></t>
<t tx="ekr.20151228151130.1"># -*- mode: python -*-
'''
-launchLeo.spec: the spec file for pyinstaller.
-Run with pyinstaller launchLeo.spec, **not** with launchLeo.py.
+launchLeo-single.spec: a spec file for pyinstaller that creates a
single-executable version of Leo.
+Run with pyinstaller launchLeo-single.spec, **not** with launchLeo.py.
'''
import glob, os
@@ -1641,7 +1641,7 @@ else:
# Same code as in runLeo.py.
path = os.getcwd()
if path not in sys.path:
- print('launchLeo.spec: appending %s to sys.path' % path)
+ print('launchLeo-single.spec: appending %s to sys.path' % path)
sys.path.append(path)
import leo.core.leoGlobals as g
@@ -1717,13 +1717,16 @@ datas = [
if True:
datas.extend([
# leo-editor: loaded by LeoPy.leo...
- ('launchLeo.spec', ''),
+ ('launchLeo-folder.spec', ''),
+ ('launchLeo-single.spec', ''),
('pylint-leo.py', ''),
('setup.py', ''),
# leo.commands...
ext('.py', 'leo/commands'),
# leo.core...
- ext('.leo', 'leo/core'),
+ # Only include reference files.
+ # ext('.leo', 'leo/core'),
+ ('leo/core/LeoPyRef.leo', 'leo/core'),
ext('.py', 'leo/core'),
ext('.txt', 'leo/core'),
# leo.dist...
@@ -1762,7 +1765,10 @@ if True:
ext('.json', 'leo/external/ckeditor'),
ext('.md', 'leo/external/ckeditor'),
# leo/plugins...
- ext('.leo', 'leo/plugins'),
+ # Only include reference files.
+ # ext('.leo', 'leo/plugins'),
+ ('leo/plugins/leoPluginsRef.leo', 'leo/plugins'),
+ ('leo/plugins/leoGuiPluginsRef.leo', 'leo/plugins'),
ext('.txt', 'leo/plugins'),
ext('.py', 'leo/plugins/examples'),
ext('.py', 'leo/plugins/test'),
@@ -1819,6 +1825,10 @@ if generate_folder:
name='Leo')
</t>
<t tx="ekr.20151228151148.1"># -*- mode: python -*-
+'''
+launchLeo-folder.spec: a spec file for pyinstaller that creates a
folder-based install of Leo.
+Run with pyinstaller launchLeo-folder.spec, **not** with launchLeo.py.
+'''
block_cipher = None
@@ -1894,16 +1904,16 @@ datas = [
# Additional Leo data fles...
# leo-editor: loaded by LeoPy.leo...
('launchLeo-folder.spec', ''),
- ('launchLeo-single.spec', ''),
- ('leo_to_html.xsl', ''),
- ('pylint-leo.py', ''),
+ ('launchLeo-single.spec', ''),
+ ('leo_to_html.xsl', ''),
+ ('pylint-leo.py', ''),
('setup.py', ''),
# leo.commands...
ext('.py', 'leo/commands'),
# leo.core...
- # Only include reference files.
+ # Only include reference files.
# ext('.leo', 'leo/core'),
- ('leo/core/LeoPyRef.leo', 'leo/core'),
+ ('leo/core/LeoPyRef.leo', 'leo/core'),
ext('.py', 'leo/core'),
ext('.txt', 'leo/core'),
# leo.dist...
@@ -1942,10 +1952,10 @@ datas = [
ext('.json', 'leo/external/ckeditor'),
ext('.md', 'leo/external/ckeditor'),
# leo/plugins...
- # Only include reference files.
+ # Only include reference files.
# ext('.leo', 'leo/plugins'),
- ('leo/plugins/leoPluginsRef.leo', 'leo/plugins'),
- ('leo/plugins/leoGuiPluginsRef.leo', 'leo/plugins'),
+ ('leo/plugins/leoPluginsRef.leo', 'leo/plugins'),
+ ('leo/plugins/leoGuiPluginsRef.leo', 'leo/plugins'),
ext('.txt', 'leo/plugins'),
ext('.py', 'leo/plugins/examples'),
ext('.py', 'leo/plugins/test'),
latest git commit: 7ae9c054db7
Thanks,
Zoltan
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.