aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--host/utils/setup.py.in2
-rw-r--r--tools/gr-usrptest/python/setup.py5
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',