• R/O
  • SSH

Joypy: コミット

Main interpreter and library.


コミットメタ情報

リビジョン0d7315fca87a756f19ba4a2e8feb707f72ed4f0e (tree)
日時2019-05-07 05:54:55
作者Simon Forman <sforman@hush...>
コミッターSimon Forman

ログメッセージ

Use ~/.thun instead of ~/.joypy as default JOY_HOME.

And some copyright notices I missed.

変更サマリ

差分

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 @@
1+# -*- coding: utf-8 -*-
2+#
3+# Copyright © 2019 Simon Forman
4+#
5+# This file is part of Thun
6+#
7+# Thun is free software: you can redistribute it and/or modify
8+# it under the terms of the GNU General Public License as published by
9+# the Free Software Foundation, either version 3 of the License, or
10+# (at your option) any later version.
11+#
12+# Thun is distributed in the hope that it will be useful,
13+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+# GNU General Public License for more details.
16+#
17+# You should have received a copy of the GNU General Public License
18+# along with Thun. If not see <http://www.gnu.org/licenses/>.
19+#
120 from StringIO import StringIO
221 import base64, zlib
322
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 @@
1+# -*- coding: utf-8 -*-
2+#
3+# Copyright © 2019 Simon Forman
4+#
5+# This file is part of Thun
6+#
7+# Thun is free software: you can redistribute it and/or modify
8+# it under the terms of the GNU General Public License as published by
9+# the Free Software Foundation, either version 3 of the License, or
10+# (at your option) any later version.
11+#
12+# Thun is distributed in the hope that it will be useful,
13+# but WITHOUT ANY WARRANTY; without even the implied warranty of
14+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+# GNU General Public License for more details.
16+#
17+# You should have received a copy of the GNU General Public License
18+# along with Thun. If not see <http://www.gnu.org/licenses/>.
19+#
120 '''
221 Utility module to help with setting up the initial contents of the
322 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 @@
2828
2929 JOY_HOME = os.environ.get('JOY_HOME')
3030 if JOY_HOME is None:
31- JOY_HOME = os.path.expanduser('~/.joypy')
31+ JOY_HOME = os.path.expanduser('~/.thun')
3232 if not os.path.isabs(JOY_HOME):
3333 raise ValueError('what directory?')
3434
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 @@
194194
195195
196196 if __name__ == '__main__':
197- JOY_HOME = os.path.expanduser('~/.joypy')
197+ JOY_HOME = os.path.expanduser('~/.thun')
198198 pt = PersistTask(JOY_HOME)
199199 content_id, thing = pt.open('stack.pickle')
200200 pt.persist(content_id)
旧リポジトリブラウザで表示