Skip to content

Commit 5a6599b

Browse files
authored
Merge pull request sseemayer#12 from tartley/fix-pip-install
'pip install' now works.
2 parents 05c5190 + e444308 commit 5a6599b

File tree

12 files changed

+33
-6
lines changed

12 files changed

+33
-6
lines changed

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ MANIFEST
33
*.py[co]
44
*.c
55
*.so
6+
/.eggs/
67

78
# Packages
89
*.egg

‎py2d/Bezier.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: language_level=3
2+
13
"""Bezier curve tools.
24
35
All functions in this module assume the following naming:

‎py2d/FOV.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# cython: language_level=3
2+
13
"""Calculation of polygonal Field of View (FOV)"""
4+
25
import functools
36
import py2d.Math
47

‎py2d/FOVConverter.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# cython: language_level=3
2+
13
"""Conversion of map data structures to obstructor data"""
4+
25
import Math
36

47
def convert_tilemap(width, height, blocking_function, tile_width, tile_height):

‎py2d/Math/Operations.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: language_level=3
2+
13
import math
24

35
from py2d.Math.Vector import *

‎py2d/Math/Polygon.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: language_level=3
2+
13
import math
24
import itertools
35
from collections import defaultdict

‎py2d/Math/Transform.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: language_level=3
2+
13
import math
24

35
from py2d.Math.Vector import *

‎py2d/Math/Vector.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: language_level=3
2+
13
import math
24
from collections import defaultdict
35

‎py2d/Math/__init__.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
# cython: language_level=3
2+
13
"""Math utilities for games"""
4+
25
from py2d.Math.Vector import *
36
from py2d.Math.Polygon import *
47
from py2d.Math.Transform import *

‎py2d/Navigation.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# cython: language_level=3
2+
13
"""Navigation Mesh generation and navigation."""
24

35
import itertools

0 commit comments

Comments
 (0)