mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
setup.py: Make sure the setuptools_available variable is set
Otherwise it would crash if it can't import setuptools.
This commit is contained in:
parent
79b3f61228
commit
369a759acc
1
setup.py
1
setup.py
@ -11,6 +11,7 @@
|
|||||||
setuptools_available = True
|
setuptools_available = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
setuptools_available = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# This will create an exe that needs Microsoft Visual C++ 2008
|
# This will create an exe that needs Microsoft Visual C++ 2008
|
||||||
|
Loading…
Reference in New Issue
Block a user