1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00

Make sure to package .exe and .cfg files in get-pip.py as well

This commit is contained in:
Donald Stufft 2014-01-21 10:40:14 -05:00
parent 530a5fd3cc
commit c6405ec006
2 changed files with 17998 additions and 13771 deletions

File diff suppressed because it is too large Load diff

View file

@ -32,7 +32,7 @@ def pkg_to_mapping(name):
name2src = {}
for root, dirs, files in os.walk(toplevel):
for pyfile in files:
if os.path.splitext(pyfile)[1] in '.py .pem'.split():
if os.path.splitext(pyfile)[1] in '.py .pem .cfg .exe'.split():
pkg = pkgname(name, toplevel, os.path.join(root, pyfile))
f = open(os.path.join(root, pyfile))
try: