Skip to content

Commit

Permalink
Merge pull request #12 from videlec/py2-py3
Browse files Browse the repository at this point in the history
Py2 py3
  • Loading branch information
videlec authored Jul 17, 2023
2 parents 85a23ab + 6a13e24 commit 72b63f0
Show file tree
Hide file tree
Showing 9 changed files with 2 additions and 20 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ M. Bell, V. Delecroix, V. Gadre, R. Gutiérrez-Romo, S. Schleimer,
"Coding Teichmüller flow using veering triangulations",
`arXiv:1909.00890 <https://arxiv.org/abs/1909.00890>`_.

To install the module you need Python (preferably version 3 but Python 2 is
supported).
To install the module you need Python 3.

Additional features are available if this module is used inside
`SageMath <https://www.sagemath.org/>`_.
Expand Down
3 changes: 1 addition & 2 deletions veerer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
A Python module to deal with Veering triangulation and L^infinity
Delaunay decomposition of surfaces.
"""
from __future__ import absolute_import

from .constants import RED, BLUE, PURPLE, GREEN, HORIZONTAL, VERTICAL, RIGHT, LEFT, UP, DOWN
from .triangulation import Triangulation
Expand All @@ -19,4 +18,4 @@
from .layout import FlatVeeringTriangulationLayout
from .measured_train_track import MeasuredTrainTrack

del sage, absolute_import
del sage
2 changes: 0 additions & 2 deletions veerer/automaton.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
r"""
Train-track and triangulations automata.
"""
from __future__ import print_function, absolute_import
from six.moves import range, map, filter, zip

import os
import sys
Expand Down
3 changes: 0 additions & 3 deletions veerer/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
Covering of triangulations
"""

from __future__ import absolute_import, print_function
from six.moves import range, map, zip

from array import array

from .permutation import *
Expand Down
2 changes: 0 additions & 2 deletions veerer/flip_sequence.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@
# along with veerer. If not, see <https://www.gnu.org/licenses/>.
######################################################################

from __future__ import absolute_import

from .constants import colour_from_char, colour_to_char, RED, BLUE, PURPLE, GREEN, HORIZONTAL, VERTICAL
from .permutation import perm_init, perm_check, perm_id, perm_is_one, perm_preimage, perm_invert, perm_cycle_string, perm_compose, perm_pow, perm_conjugate
from .veering_triangulation import VeeringTriangulation
Expand Down
3 changes: 0 additions & 3 deletions veerer/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
Utility functions.
"""

from __future__ import print_function, absolute_import
from six.moves import range, map, filter, zip

from .env import ppl

def det2(u, v):
Expand Down
2 changes: 0 additions & 2 deletions veerer/permutation.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
such array should not be allocated each time the function
is called.
"""
from __future__ import absolute_import, print_function
from six.moves import range, map, filter, zip

from array import array
from math import log
Expand Down
2 changes: 0 additions & 2 deletions veerer/triangulation.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
r"""
Triangulation of surfaces.
"""
from __future__ import absolute_import, print_function
from six.moves import range, map, filter, zip

from array import array
from .permutation import *
Expand Down
2 changes: 0 additions & 2 deletions veerer/veering_triangulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
to folded edges). It is said to be in canonical form if it starts with cycle
representatives.
"""
from __future__ import print_function, absolute_import
from six.moves import range, map, filter, zip

import numbers

Expand Down

0 comments on commit 72b63f0

Please sign in to comment.