Drop support for Python 2.

This commit is contained in:
Dion Moult
2024-05-07 12:17:46 +10:00
parent 7e13ed746e
commit 89c4cbeb05
17 changed files with 2 additions and 67 deletions
@@ -18,9 +18,6 @@
"""Geometry processing and analysis"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
def _has_occ():
@@ -16,10 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import sys
import time
@@ -16,10 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import os
import sys
import logging
@@ -17,11 +17,6 @@
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import annotations
import os
import sys
import operator
@@ -17,20 +17,12 @@
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import random
import operator
import warnings
from collections import namedtuple
try: # python 3.3+
from collections.abc import Iterable
except ImportError: # python 2
from collections import Iterable
from collections.abc import Iterable
import OCC