Commit a2484bd0 authored by Jason R. Coombs's avatar Jason R. Coombs

Move six to pkg_resources for use there.

--HG--
branch : feature/issue-229
parent f81c6c36
......@@ -2,10 +2,7 @@ empty:
exit 1
update-vendored:
rm -rf pkg_resources/_vendor/packaging
python3.5 -m pip install -r pkg_resources/_vendor/vendored.txt -t pkg_resources/_vendor/
rm -rf pkg_resources/_vendor/packaging*
rm -rf pkg_resources/_vendor/six*
python3 -m pip install -r pkg_resources/_vendor/vendored.txt -t pkg_resources/_vendor/
rm -rf pkg_resources/_vendor/*.{egg,dist}-info
rm -rf setuptools/_vendor/six
python3.5 -m pip install -r setuptools/_vendor/vendored.txt -t setuptools/_vendor/
rm -rf setuptools/_vendor/*.{egg,dist}-info
......@@ -67,5 +67,5 @@ class VendorImporter:
if self not in sys.meta_path:
sys.meta_path.append(self)
names = 'packaging',
names = 'packaging', 'six'
VendorImporter(__name__, names).install()
......@@ -2,4 +2,4 @@ from pkg_resources.extern import VendorImporter
names = 'six',
VendorImporter(__name__, names).install()
VendorImporter(__name__, names, 'pkg_resources._vendor').install()
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment