From 8735daf1a2f54c3362de25561328e0d5da1a3e24 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 5 Nov 2011 09:54:57 -0700 Subject: [PATCH] moving all yomichan assets into a single subdirectory --- yomichan.pyw | 2 +- yomichan/{core => }/about.py | 0 yomichan/{core => }/anki_host.py | 0 yomichan/{core => }/constants.py | 0 yomichan/core/__init__.py | 0 yomichan/{core => }/preference_data.py | 0 yomichan/{core => }/preferences.py | 0 yomichan/{core => }/reader.py | 0 yomichan/{core => }/reader_util.py | 0 yomichan/{core => }/resources_rc.py | 0 yomichan/{core => }/update.py | 0 yomichan/{core => }/util.py | 0 yomichan_plugin.py | 6 +++--- 13 files changed, 4 insertions(+), 4 deletions(-) rename yomichan/{core => }/about.py (100%) rename yomichan/{core => }/anki_host.py (100%) rename yomichan/{core => }/constants.py (100%) delete mode 100644 yomichan/core/__init__.py rename yomichan/{core => }/preference_data.py (100%) rename yomichan/{core => }/preferences.py (100%) rename yomichan/{core => }/reader.py (100%) rename yomichan/{core => }/reader_util.py (100%) rename yomichan/{core => }/resources_rc.py (100%) rename yomichan/{core => }/update.py (100%) rename yomichan/{core => }/util.py (100%) diff --git a/yomichan.pyw b/yomichan.pyw index 7fa5f63..f7df0bd 100755 --- a/yomichan.pyw +++ b/yomichan.pyw @@ -19,7 +19,7 @@ import sys from PyQt4 import QtGui from yomichan.lang import japanese -from yomichan.core.reader import MainWindowReader +from yomichan.reader import MainWindowReader filename = sys.argv[1] if len(sys.argv) >= 2 else None diff --git a/yomichan/core/about.py b/yomichan/about.py similarity index 100% rename from yomichan/core/about.py rename to yomichan/about.py diff --git a/yomichan/core/anki_host.py b/yomichan/anki_host.py similarity index 100% rename from yomichan/core/anki_host.py rename to yomichan/anki_host.py diff --git a/yomichan/core/constants.py b/yomichan/constants.py similarity index 100% rename from yomichan/core/constants.py rename to yomichan/constants.py diff --git a/yomichan/core/__init__.py b/yomichan/core/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/yomichan/core/preference_data.py b/yomichan/preference_data.py similarity index 100% rename from yomichan/core/preference_data.py rename to yomichan/preference_data.py diff --git a/yomichan/core/preferences.py b/yomichan/preferences.py similarity index 100% rename from yomichan/core/preferences.py rename to yomichan/preferences.py diff --git a/yomichan/core/reader.py b/yomichan/reader.py similarity index 100% rename from yomichan/core/reader.py rename to yomichan/reader.py diff --git a/yomichan/core/reader_util.py b/yomichan/reader_util.py similarity index 100% rename from yomichan/core/reader_util.py rename to yomichan/reader_util.py diff --git a/yomichan/core/resources_rc.py b/yomichan/resources_rc.py similarity index 100% rename from yomichan/core/resources_rc.py rename to yomichan/resources_rc.py diff --git a/yomichan/core/update.py b/yomichan/update.py similarity index 100% rename from yomichan/core/update.py rename to yomichan/update.py diff --git a/yomichan/core/util.py b/yomichan/util.py similarity index 100% rename from yomichan/core/util.py rename to yomichan/util.py diff --git a/yomichan_plugin.py b/yomichan_plugin.py index e801d88..921384f 100644 --- a/yomichan_plugin.py +++ b/yomichan_plugin.py @@ -17,10 +17,10 @@ from PyQt4 import QtGui, QtCore +from yomichan import anki_host from yomichan.lang import japanese -from yomichan.core import anki_host -from yomichan.core.preference_data import Preferences -from yomichan.core.reader import MainWindowReader +from yomichan.preference_data import Preferences +from yomichan.reader import MainWindowReader class YomichanPlugin: