From a86f38182ad6d59eb9863851a0bc220230960555 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 7 Dec 2010 13:43:27 -0500 Subject: [PATCH] Move bots/hole_bot into new pbotlib package. --- bots/p1.py | 2 +- bots/p2.py | 2 +- pbotlib/__init__.py | 2 ++ {bots => pbotlib}/hole_bot.py | 0 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 pbotlib/__init__.py rename {bots => pbotlib}/hole_bot.py (100%) 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 -- 2.26.2