Skip to content

Commit 9211ae8

Browse files
author
wouter.durnez
committed
⬆️ Update init to remove outdated pkg_resources
1 parent 6b88d11 commit 9211ae8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lambda_local/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77

88
from __future__ import print_function
99
import argparse
10-
import pkg_resources
10+
import importlib.metadata
1111

1212
from .main import run
1313

14-
__version__ = pkg_resources.require("python-lambda-local")[0].version
15-
14+
__version__ = importlib.metadata.version("python-lambda-local")
1615

1716
def main():
1817
args = parse_args()

0 commit comments

Comments
 (0)