Browse Source

Remove fallback to distutils

Inception has dependencies that cannot be expressed using distutils so the
code that substitutes distutils if setuptools cannot be imported should be
removed lest it be invoked and lead to a confusing error case.

Change-Id: I8959855b3b48e6742b73770a32f7931ccc1c78ef
Fixes: bug #1210181
Andrew Forrest 5 years ago
parent
commit
f00b99bb70
1 changed files with 1 additions and 4 deletions
  1. 1
    4
      setup.py

+ 1
- 4
setup.py View File

@@ -1,10 +1,7 @@
1 1
 #!/usr/bin/env python
2 2
 # Copyright (c) 2013 AT&T. All right reserved.
3 3
 
4
-try:
5
-    from setuptools import setup, find_packages
6
-except ImportError:
7
-    from distutils.core import setup
4
+from setuptools import setup, find_packages
8 5
 
9 6
 # move version string out of setup so it is readily available to others
10 7
 from inception import __version__

Loading…
Cancel
Save