summary refs log tree commit diff stats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/setup.py b/setup.py
index 9da63925..234bba19 100755
--- a/setup.py
+++ b/setup.py
@@ -2,12 +2,7 @@
 # This file is part of ranger, the console file manager.
 # License: GNU GPL version 3, see the file "AUTHORS" for details.
 
-# Setuptools is superior but not available in the stdlib
-try:
-    from setuptools import setup
-except ImportError:
-    from distutils.core import setup
-
+import distutils.core
 import os.path
 import ranger
 
@@ -16,7 +11,7 @@ def _findall(directory):
             if os.path.isfile(os.path.join(directory, f))]
 
 if __name__ == '__main__':
-    setup(
+    distutils.core.setup(
         name='ranger',
         description='Vim-like file manager',
         long_description=ranger.__doc__,