summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-02-01 18:05:42 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2013-02-01 18:05:42 +0100
commitc7a725cfad52dd82ed4695eb526c053c7d48944d (patch)
tree6f01b8c69de51d7cc030f51b632e484711f4cd03
parent450a30cae8bb1689dea8cd3548b8f48f94f5a663 (diff)
parenta32b573ccb71de6d50cdb4dcf8e44928c70f92a6 (diff)
downloadyoutube-dl-c7a725cfad52dd82ed4695eb526c053c7d48944d.tar.gz
youtube-dl-c7a725cfad52dd82ed4695eb526c053c7d48944d.tar.xz
youtube-dl-c7a725cfad52dd82ed4695eb526c053c7d48944d.zip
Merge remote-tracking branch 'dcoppa/master'
-rw-r--r--setup.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 6d019dcbb..eb7b1a212 100644
--- a/setup.py
+++ b/setup.py
@@ -2,11 +2,15 @@
 # -*- coding: utf-8 -*-
 
 from __future__ import print_function
-from distutils.core import setup
 import pkg_resources
 import sys
 
 try:
+    from setuptools import setup
+except ImportError:
+    from distutils.core import setup
+
+try:
     import py2exe
     """This will create an exe that needs Microsoft Visual C++ 2008 Redistributable Package"""
 except ImportError: