mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
minimal ver of pysol_cards.
See https://github.com/shlomif/PySolFC/issues/128 .
This commit is contained in:
parent
4929787315
commit
fb4f801ecc
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
||||||
import re
|
import re
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
import pysol_cards
|
||||||
|
|
||||||
from pysollib.mfxutil import SubclassResponsibility
|
from pysollib.mfxutil import SubclassResponsibility
|
||||||
try:
|
try:
|
||||||
import random2
|
import random2
|
||||||
|
@ -34,6 +36,8 @@ except ImportError:
|
||||||
"You need to install " +
|
"You need to install " +
|
||||||
"https://pypi.python.org/pypi/random2 using pip or similar.")
|
"https://pypi.python.org/pypi/random2 using pip or similar.")
|
||||||
|
|
||||||
|
assert ((pysol_cards.VERSION if 'VERSION' in pysol_cards.__dict__
|
||||||
|
else (0, 0, 0)) >= (0, 8, 2))
|
||||||
from pysol_cards.random_base import RandomBase # noqa: I100
|
from pysol_cards.random_base import RandomBase # noqa: I100
|
||||||
from pysol_cards.random import match_ms_deal_prefix # noqa: I100
|
from pysol_cards.random import match_ms_deal_prefix # noqa: I100
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue