dev-python/six: Force usage of distutils over setuptools

Avoids circular dependency.

Bug: https://bugs.gentoo.org/572792

Package-Manager: portage-2.2.27_p49
This commit is contained in:
Mike Gilbert
2016-01-26 23:16:18 -05:00
parent 5bee96bf42
commit f520d401bb
3 changed files with 28 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
Force distutils to avoid depending on setuptools
distutils and setuptools have differing behavior in regard to egg-info
directories versus files, so we need to ensure that no automagic behavior
occurs here.
We cannot hard-depend on setuptools due to a circular dependency.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -1,9 +1,6 @@
from __future__ import with_statement
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
+from distutils.core import setup
import six