Skip to content

Commit 6baca8c

Browse files
authored
Merge pull request #6 from Axelrod-Python/add-player-to-top-namespace
Add player to top namespace
2 parents 8f339f4 + 4b442ca commit 6baca8c

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

src/axelrod_fortran/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
__version__ = "0.1.0"
2+
3+
from .player import Player

src/axelrod_fortran/player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import axelrod.player as axl
1+
import axelrod as axl
22
from axelrod.interaction_utils import compute_final_score
33
from axelrod.action import Action
44
from axelrod import Game

tests/test_player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from axelrod_fortran.strategies import all_strategies
2-
from axelrod_fortran.player import Player
2+
from axelrod_fortran import Player
33
from axelrod import Alternator, Cooperator, Defector, Match, Game
44
from axelrod.action import Action
55
from ctypes import c_int, c_float, POINTER

0 commit comments

Comments
 (0)