Skip to content

Commit 721bc0b

Browse files
committed
bug: trying to fix distribution error
1 parent a971435 commit 721bc0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_executable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
from pathlib import Path
66

77
import pytest
8-
from setuptools import distribution
8+
from setuptools.dist import Distribution
99

1010
import s5cmd
1111

@@ -28,7 +28,7 @@ def test_module(tool):
2828

2929

3030
def _get_scripts():
31-
dist = distribution("s5cmd")
31+
dist = Distribution("s5cmd")
3232
scripts_paths = [
3333
Path(sysconfig.get_path("scripts", scheme)).resolve()
3434
for scheme in sysconfig.get_scheme_names()

0 commit comments

Comments
 (0)