Skip to content

Commit 8ea6301

Browse files
committed
Rollback to one folder organization
1 parent 6ae945b commit 8ea6301

46 files changed

Lines changed: 37 additions & 126 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "aimaPy/aima-data"]
2-
path = aimaPy/aima-data
3-
url = https://github.com/aimacode/aima-data
1+
[submodule "aima-data"]
2+
path = aima-data
3+
url = https://github.com/aimacode/aima-data.git

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ before_install:
1010
install:
1111
- pip install flake8
1212
- pip install -r requirements.txt
13-
- python setup.py install
1413

1514
script:
1615
- py.test

MANIFEST.in

Lines changed: 0 additions & 3 deletions
This file was deleted.
File renamed without changes.

aimaPy/agents.py renamed to agents.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@
3535
#
3636
# Speed control in GUI does not have any effect -- fix it.
3737

38-
if __name__ == "aimaPy.agents":
39-
from . utils import *
40-
else:
41-
from utils import *
38+
from utils import *
4239

4340
import random
4441
import copy

aimaPy/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

aimaPy/planning.py

Lines changed: 0 additions & 17 deletions
This file was deleted.
File renamed without changes.

aimaPy/csp.py renamed to csp.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
"""CSP (Constraint Satisfaction Problems) problems and solvers. (Chapter 6)."""
22

3-
4-
if __name__ == "aimaPy.csp":
5-
from . utils import *
6-
from . import search
7-
else:
8-
from utils import *
9-
import search
3+
from utils import *
4+
import search
105

116
from collections import defaultdict
127
from functools import reduce

0 commit comments

Comments
 (0)