Skip to content

Commit

Permalink
change to importlib from pkg_resources
Browse files Browse the repository at this point in the history
  • Loading branch information
BradyAJohnston committed Oct 24, 2023
1 parent 00f8f61 commit 4727658
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion starfile/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from datetime import datetime
from pathlib import Path
from typing import TYPE_CHECKING, Union, Dict, List
from importlib.metadata import version

import pandas as pd
from pkg_resources import get_distribution
Expand All @@ -13,7 +14,7 @@
if TYPE_CHECKING:
from os import PathLike

__version__ = get_distribution("starfile").version
__version__ = version("starfile")


class StarWriter:
Expand Down

0 comments on commit 4727658

Please sign in to comment.