mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
import customgame.
This commit is contained in:
parent
fe8c355a43
commit
56f8b04cad
2 changed files with 3 additions and 3 deletions
|
@ -29,7 +29,7 @@ from pysollib.stack import *
|
||||||
from pysollib.layout import Layout
|
from pysollib.layout import Layout
|
||||||
from wizardpresets import presets
|
from wizardpresets import presets
|
||||||
|
|
||||||
|
from pysollib.mygettext import _, n_
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
# *
|
# *
|
||||||
# ************************************************************************
|
# ************************************************************************
|
||||||
|
@ -348,7 +348,7 @@ WizardWidgets = (
|
||||||
|
|
||||||
|
|
||||||
def write_game(app, game=None):
|
def write_game(app, game=None):
|
||||||
import customgame # for py2exe
|
import pysollib.customgame # for py2exe
|
||||||
|
|
||||||
if game is None:
|
if game is None:
|
||||||
# new game
|
# new game
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import os.path
|
import os.path
|
||||||
for module_name in ['pysollib.app', 'pysollib.acard', 'pysollib.actions', 'pysollib.hint', 'pysollib.layout', 'pysollib.mfxutil', 'pysollib.move', 'pysollib.options', 'pysollib.pysolrandom', 'pysollib.resource', 'pysollib.settings', 'pysollib.stack', 'pysollib.stats', 'pysollib.mygettext', 'pysollib.wizardpresets', 'pysollib.util', 'pysollib.gamedb', 'pysollib.configobj.configobj', 'pysollib.configobj.validate', 'pysollib.game', ]:
|
for module_name in ['pysollib.app', 'pysollib.acard', 'pysollib.actions', 'pysollib.customgame', 'pysollib.hint', 'pysollib.layout', 'pysollib.mfxutil', 'pysollib.move', 'pysollib.options', 'pysollib.pysolrandom', 'pysollib.resource', 'pysollib.settings', 'pysollib.stack', 'pysollib.stats', 'pysollib.mygettext', 'pysollib.wizardpresets', 'pysollib.util', 'pysollib.gamedb', 'pysollib.configobj.configobj', 'pysollib.configobj.validate', 'pysollib.game', ]:
|
||||||
open(os.path.join(".", "tests", "individually-importing", "import_" + module_name + ".py"), 'w').write('''#!/usr/bin/env python
|
open(os.path.join(".", "tests", "individually-importing", "import_" + module_name + ".py"), 'w').write('''#!/usr/bin/env python
|
||||||
import sys
|
import sys
|
||||||
sys.path.append("./tests/lib")
|
sys.path.append("./tests/lib")
|
||||||
|
|
Loading…
Add table
Reference in a new issue