Skip to content

Commit

Permalink
Replace deprecated distutils with packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr Shyshatskyi committed Mar 17, 2024
1 parent 7f9287a commit 6d57180
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions replay_unpack/clients/wows/player.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# coding=utf-8
import logging
import struct
from distutils.version import LooseVersion
from packaging.version import Version as LooseVersion
from io import BytesIO

from replay_unpack.core import (
Expand All @@ -23,7 +23,8 @@
PlayerPosition,
Version,
PACKETS_MAPPING,
PACKETS_MAPPING_12_6, BattleStats
PACKETS_MAPPING_12_6,
BattleStats
)

last_gap = 0
Expand Down

0 comments on commit 6d57180

Please sign in to comment.