Skip to content

Commit c70256e

Browse files
committed
Add docopt back in
1 parent 02ded56 commit c70256e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Install axelrod:
44

55
```
6-
pip install axelrod numpy cloudpickle
6+
pip install axelrod numpy cloudpickle docopt
77
```
88

99
Clone this repository

lookup_evolve.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import copy
2323
from multiprocessing import Pool
2424

25+
from docopt import docopt
26+
2527
import axelrod_utils
2628

2729

@@ -145,6 +147,7 @@ def get_random_tables(plys, opponent_start_plys, number):
145147
return tables
146148

147149
if __name__ == '__main__':
150+
arguments = docopt(__doc__, version='Lookup Evolver 0.1')
148151
# set up the process pool
149152
pool = Pool(processes=int(arguments['-i']))
150153

0 commit comments

Comments
 (0)