implement fallback for older setuptools
This commit is contained in:
parent
5fdc5489a1
commit
15d351258f
8
setup.py
8
setup.py
@ -1,7 +1,13 @@
|
|||||||
from glob import glob
|
from glob import glob
|
||||||
from setuptools import setup, find_namespace_packages
|
from setuptools import setup
|
||||||
from owrx.version import strictversion
|
from owrx.version import strictversion
|
||||||
|
|
||||||
|
try:
|
||||||
|
from setuptools import find_namespace_packages
|
||||||
|
except ImportError:
|
||||||
|
from setuptools import PEP420PackageFinder
|
||||||
|
find_namespace_packages = PEP420PackageFinder.find
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="OpenWebRX",
|
name="OpenWebRX",
|
||||||
version=str(strictversion),
|
version=str(strictversion),
|
||||||
|
Loading…
Reference in New Issue
Block a user