mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
Added fallback to distutils if setuptools is not installed
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
This commit is contained in:
parent
fae666a757
commit
ad18a4500c
1 changed files with 4 additions and 1 deletions
5
setup.py
5
setup.py
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue