python: Use setup from setuptools

This commit replaces the use of setup() from distutils.core with setup()
from setuptools.
This commit is contained in:
Aaron Rossetto 2022-01-06 13:14:51 -06:00
parent 87bc7c1bde
commit c69c7626c2
2 changed files with 2 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env python3
from distutils.core import setup
from setuptools import setup
print(__file__)
setup(name='rfnoc',

View File

@ -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',