1
0
Fork 0
mirror of https://github.com/shlomif/PySolFC.git synced 2025-04-05 00:02:29 -04:00

Test import of pysollib.util.

This commit is contained in:
Shlomi Fish 2012-11-25 18:00:48 +02:00
parent 03c83d7900
commit 0785307eb8
8 changed files with 9 additions and 8 deletions

View file

@ -32,7 +32,7 @@ from pysollib.mfxutil import pickle, unpickle, UnpicklingError
from pysollib.mfxutil import getusername, getprefdir
from pysollib.mfxutil import latin1_to_ascii, print_err
from pysollib.mfxutil import USE_PIL
from util import CARDSET, IMAGE_EXTENSIONS
from pysollib.util import CARDSET, IMAGE_EXTENSIONS
from pysollib.settings import PACKAGE, VERSION_TUPLE, WIN_SYSTEM
from pysollib.resource import CSI, CardsetConfig, Cardset, CardsetManager
from pysollib.resource import Tile, TileManager

View file

@ -22,7 +22,7 @@
##---------------------------------------------------------------------------##
from gamedb import registerGame, GameInfo, GI
from util import *
from pysollib.util import *
from stack import *
from game import Game
from layout import Layout

View file

@ -31,7 +31,7 @@ import re
# PySol imports
from pysollib.settings import DEBUG, FCS_COMMAND
from pysollib.mfxutil import destruct
from util import KING
from pysollib.util import KING
# ************************************************************************

View file

@ -28,7 +28,7 @@ import traceback
import getopt
# PySol imports
from util import DataLoader
from pysollib.util import DataLoader
from pysollib.mfxutil import print_err
from pysollib.resource import Tile
from app import Application

View file

@ -98,8 +98,8 @@ import types
# PySol imports
from pysollib.mfxutil import Struct, kwdefault, SubclassResponsibility
from pysollib.mfxutil import Image, ImageTk, USE_PIL
from util import ACE, KING
from util import ANY_SUIT, ANY_COLOR, ANY_RANK, NO_RANK
from pysollib.util import ACE, KING
from pysollib.util import ANY_SUIT, ANY_COLOR, ANY_RANK, NO_RANK
from pysoltk import EVENT_HANDLED, EVENT_PROPAGATE
from pysoltk import CURSOR_DRAG, CURSOR_DOWN_ARROW
from pysoltk import ANCHOR_NW, ANCHOR_SE

View file

@ -52,6 +52,7 @@ import sys, os
from pysollib.settings import DATA_DIRS, TOOLKIT
from pysollib.mfxutil import Image
from pysollib.mygettext import _, n_
# ************************************************************************
# * constants

View file

@ -24,7 +24,7 @@
import os
from gamedb import GI, loadGame
from util import *
from pysollib.util import *
from stack import *
from layout import Layout
from wizardpresets import presets

View file

@ -1,6 +1,6 @@
#!/usr/bin/env python
import os.path
for module_name in ['pysollib.mfxutil', 'pysollib.move', 'pysollib.resource', 'pysollib.settings', 'pysollib.mygettext', 'pysollib.wizardpresets',]:
for module_name in ['pysollib.mfxutil', 'pysollib.move', 'pysollib.resource', 'pysollib.settings', 'pysollib.mygettext', 'pysollib.wizardpresets', 'pysollib.util', ]:
open(os.path.join(".", "tests", "individually-importing", "import_" + module_name + ".py"), 'w').write('''#!/usr/bin/env python
import sys
sys.path.append("./tests/lib")