From: W. Trevor King Date: Tue, 7 Dec 2010 18:43:27 +0000 (-0500) Subject: Move bots/hole_bot into new pbotlib package. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a86f38182ad6d59eb9863851a0bc220230960555;p=poker.git Move bots/hole_bot into new pbotlib package. --- diff --git a/bots/p1.py b/bots/p1.py index b6e7b74..e0366e5 100755 --- a/bots/p1.py +++ b/bots/p1.py @@ -2,7 +2,7 @@ import logging -from hole_bot import HoleBot +from pbotlib.hole_bot import HoleBot class AceBot (HoleBot): diff --git a/bots/p2.py b/bots/p2.py index 49c348d..21982f1 100755 --- a/bots/p2.py +++ b/bots/p2.py @@ -2,7 +2,7 @@ import logging -from hole_bot import HoleBot +from pbotlib.hole_bot import HoleBot class PairBot (HoleBot): diff --git a/pbotlib/__init__.py b/pbotlib/__init__.py new file mode 100644 index 0000000..bf1a85b --- /dev/null +++ b/pbotlib/__init__.py @@ -0,0 +1,2 @@ +"""Useful routines and subclasses for poker bots. +""" diff --git a/bots/hole_bot.py b/pbotlib/hole_bot.py similarity index 100% rename from bots/hole_bot.py rename to pbotlib/hole_bot.py