From c69c7626c272be7b38e90ed933b8bea80f4c069b Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Thu, 6 Jan 2022 13:14:51 -0600 Subject: python: Use setup from setuptools This commit replaces the use of setup() from distutils.core with setup() from setuptools. --- host/utils/setup.py.in | 2 +- tools/gr-usrptest/python/setup.py | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/host/utils/setup.py.in b/host/utils/setup.py.in index 0731ce85b..92b01688b 100644 --- a/host/utils/setup.py.in +++ b/host/utils/setup.py.in @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -from distutils.core import setup +from setuptools import setup print(__file__) setup(name='rfnoc', diff --git a/tools/gr-usrptest/python/setup.py b/tools/gr-usrptest/python/setup.py index 6969f413d..de44ea370 100644 --- a/tools/gr-usrptest/python/setup.py +++ b/tools/gr-usrptest/python/setup.py @@ -1,8 +1,5 @@ #!/usr/bin/env python -try: - from setuptools import setup -except ImportError: - from distutils.core import setup +from setuptools import setup setup(name='urptest_automation', -- cgit v1.2.3