dev-python/packaging: force distutils

Package-Manager: Portage-2.3.3_p42_p433273, Repoman-2.3.1_p35_p433273
This commit is contained in:
Mike Gilbert
2017-01-30 23:39:38 -05:00
parent 26581ccc94
commit 63207c8570
2 changed files with 38 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
--- a/setup.py
+++ b/setup.py
@@ -13,10 +13,7 @@ import re
# dependency when projects attempt to unbundle stuff from setuptools and pip.
# Though we don't really support that, it makes things easier if we do this and
# should hopefully cause less issues for end users.
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
+from distutils.core import setup
base_dir = os.path.dirname(__file__)