Skip to content

Commit c23e75a

Browse files
committed
change python package structure
1 parent dc32655 commit c23e75a

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
from .classes import *
22
from .wrappers import *
3-
from main import main as _main

engine/src/crossplay_python/main.py renamed to engine/src/crossplay_python/battlecode26/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
import sys
55
import traceback
66

7-
from battlecode26.classes import GameActionException
8-
from battlecode26.runner import RobotRunner
9-
from battlecode26.crossplay import (
7+
from .classes import GameActionException
8+
from .runner import RobotRunner
9+
from .crossplay import (
1010
BYTECODE_LIMIT,
1111
CrossPlayException,
1212
receive,
@@ -17,7 +17,7 @@
1717
CrossPlayMethod,
1818
_destroy_queue,
1919
)
20-
from battlecode26.wrappers import _GAME_METHODS, Team
20+
from .wrappers import _GAME_METHODS, Team
2121

2222
DETACHED_PROCESS = 0x00000008
2323
TEAM_NAMES = {Team.A: "A", Team.B: "B", Team.NEUTRAL: "N"}

0 commit comments

Comments
 (0)