include $(TOPDIR)/rules.mk
PKG_NAME:=python-setuptools
-PKG_VERSION:=22.0.5
+PKG_VERSION:=27.1.2
PKG_RELEASE:=1
PKG_SOURCE:=setuptools-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=https://pypi.python.org/packages/90/7a/b64d5804b6d1aebed1892e4df1c21bcb4f8480095ba8004e48999601119d/
-PKG_MD5SUM:=869f3029dcc66a64ba39875e2a2f044a
+PKG_SOURCE_URL:=https://pypi.python.org/packages/7b/e7/d9b468ead9854ca55110325ce00ae6ee64d11b957cc5214aa5174738187e/
+PKG_MD5SUM:=75e60f2aee3d423a53d32e234a2328e1
HOST_BUILD_DEPENDS:=python python/host
diff --git a/setuptools/dist.py b/setuptools/dist.py
-index 7785541..23108c7 100644
+index b004f92..66b9d89 100644
--- a/setuptools/dist.py
+++ b/setuptools/dist.py
-@@ -18,7 +18,6 @@ from setuptools.extern.six.moves import map
+@@ -17,7 +17,6 @@ from setuptools.extern.six.moves import map
from pkg_resources.extern import packaging
from setuptools.depends import Require
-from setuptools import windows_support
+ from setuptools.monkey import get_unpatched
import pkg_resources
-
-@@ -335,7 +334,6 @@ class Distribution(_Distribution):
+@@ -383,7 +382,6 @@ class Distribution(_Distribution):
egg_cache_dir = os.path.join(os.curdir, '.eggs')
if not os.path.exists(egg_cache_dir):
os.mkdir(egg_cache_dir)