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:
parent
530a5fd3cc
commit
c6405ec006
2 changed files with 17998 additions and 13771 deletions
31767
contrib/get-pip.py
31767
contrib/get-pip.py
File diff suppressed because it is too large
Load diff
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue