diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-01-06 13:14:51 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2022-01-14 14:36:39 -0600 |
commit | c69c7626c272be7b38e90ed933b8bea80f4c069b (patch) | |
tree | 99f35ff52a4a982d06ba0c98fb538da14abbe660 | |
parent | 87bc7c1bde9e4994c164bb3c19fd7acf25189a7d (diff) | |
download | uhd-c69c7626c272be7b38e90ed933b8bea80f4c069b.tar.gz uhd-c69c7626c272be7b38e90ed933b8bea80f4c069b.tar.bz2 uhd-c69c7626c272be7b38e90ed933b8bea80f4c069b.zip |
python: Use setup from setuptools
This commit replaces the use of setup() from distutils.core with setup()
from setuptools.
-rw-r--r-- | host/utils/setup.py.in | 2 | ||||
-rw-r--r-- | 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', |