Skip to content

Commit 98bd177

Browse files
committed
py: fix deprecated distutils warning
``` setup.py:17:0: W0402: Uses of a deprecated module'distutils.core' (deprecated-module) ```
1 parent 90a72cc commit 98bd177

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

py/bitbox02/setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"""BitBox python package"""
1515
import os.path
1616
import re
17-
from distutils.core import setup
1817
import setuptools
1918

2019

@@ -33,7 +32,7 @@ def find_version() -> str:
3332
raise RuntimeError("Version string not found")
3433

3534

36-
setup(
35+
setuptools.setup(
3736
name="bitbox02",
3837
version=find_version(),
3938
author="Shift Crypto",

0 commit comments

Comments
 (0)