[Joypy-announce] joypy/Joypy: Use ~/.thun instead of ~/.joypy as default JOY_HOME.

Back to archive index
scmno****@osdn***** scmno****@osdn*****
Tue May 7 05:55:26 JST 2019


changeset 0d7315fca87a in joypy/Joypy
details: http://hg.osdn.jp/view/joypy/Joypy?cmd=changeset;node=0d7315fca87a
user: Simon Forman <sform****@hushm*****>
date: Mon May 06 13:54:55 2019 -0700
description: Use ~/.thun instead of ~/.joypy as default JOY_HOME.

And some copyright notices I missed.

diffstat:

 joy/vui/font_data.py     |  19 +++++++++++++++++++
 joy/vui/init_joy_home.py |  19 +++++++++++++++++++
 joy/vui/main.py          |   2 +-
 joy/vui/persist_task.py  |   2 +-
 4 files changed, 40 insertions(+), 2 deletions(-)

diffs (76 lines):

diff -r b235310e9ca3 -r 0d7315fca87a joy/vui/font_data.py
--- a/joy/vui/font_data.py	Mon May 06 13:32:08 2019 -0700
+++ b/joy/vui/font_data.py	Mon May 06 13:54:55 2019 -0700
@@ -1,3 +1,22 @@
+# -*- coding: utf-8 -*-
+#
+#    Copyright © 2019 Simon Forman
+#
+#    This file is part of Thun
+#
+#    Thun is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    Thun is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with Thun.  If not see <http://www.gnu.org/licenses/>.
+#
 from StringIO import StringIO
 import base64, zlib
 
diff -r b235310e9ca3 -r 0d7315fca87a joy/vui/init_joy_home.py
--- a/joy/vui/init_joy_home.py	Mon May 06 13:32:08 2019 -0700
+++ b/joy/vui/init_joy_home.py	Mon May 06 13:54:55 2019 -0700
@@ -1,3 +1,22 @@
+# -*- coding: utf-8 -*-
+#
+#    Copyright © 2019 Simon Forman
+#
+#    This file is part of Thun
+#
+#    Thun is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+#
+#    Thun is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+#
+#    You should have received a copy of the GNU General Public License
+#    along with Thun.  If not see <http://www.gnu.org/licenses/>.
+#
 '''
 Utility module to help with setting up the initial contents of the
 JOY_HOME directory.
diff -r b235310e9ca3 -r 0d7315fca87a joy/vui/main.py
--- a/joy/vui/main.py	Mon May 06 13:32:08 2019 -0700
+++ b/joy/vui/main.py	Mon May 06 13:54:55 2019 -0700
@@ -28,7 +28,7 @@
 
 JOY_HOME = os.environ.get('JOY_HOME')
 if JOY_HOME is None:
-    JOY_HOME = os.path.expanduser('~/.joypy')
+    JOY_HOME = os.path.expanduser('~/.thun')
     if not os.path.isabs(JOY_HOME):
         raise ValueError('what directory?')
 
diff -r b235310e9ca3 -r 0d7315fca87a joy/vui/persist_task.py
--- a/joy/vui/persist_task.py	Mon May 06 13:32:08 2019 -0700
+++ b/joy/vui/persist_task.py	Mon May 06 13:54:55 2019 -0700
@@ -194,7 +194,7 @@
 
 
 if __name__ == '__main__':
-    JOY_HOME = os.path.expanduser('~/.joypy')
+    JOY_HOME = os.path.expanduser('~/.thun')
     pt = PersistTask(JOY_HOME)
     content_id, thing = pt.open('stack.pickle')
     pt.persist(content_id)


More information about the Joypy-announce mailing list
Back to archive index