Added fallback to distutils if setuptools is not installed

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
This commit is contained in:
Andreas Maier 2020-07-12 16:24:05 +02:00
parent fae666a757
commit ad18a4500c

View file

@ -4,7 +4,10 @@
Install PlexAPI
"""
import re
from setuptools import setup
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Get the current version
with open('plexapi/__init__.py') as handle: