gentoo/dev-python/packaging/files/packaging-16.8-distutils.patch
Mike Gilbert 63207c8570
dev-python/packaging: force distutils
Package-Manager: Portage-2.3.3_p42_p433273, Repoman-2.3.1_p35_p433273
2017-01-30 23:44:00 -05:00

15 lines
447 B
Diff

--- 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__)