update-python-resources: include wheel in resources

This commit is contained in:
Rylan Polster 2021-03-14 13:40:34 -04:00
parent e3b451cce8
commit 7a19eed48d
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -182,7 +182,7 @@ module PyPI
extra_packages = (extra_packages || []).map { |p| Package.new p } extra_packages = (extra_packages || []).map { |p| Package.new p }
exclude_packages = (exclude_packages || []).map { |p| Package.new p } exclude_packages = (exclude_packages || []).map { |p| Package.new p }
exclude_packages += %W[#{main_package.name} argparse pip setuptools wheel wsgiref].map { |p| Package.new p } exclude_packages += %W[#{main_package.name} argparse pip setuptools wsgiref].map { |p| Package.new p }
# remove packages from the exclude list if we've explicitly requested them as an extra package # remove packages from the exclude list if we've explicitly requested them as an extra package
exclude_packages.delete_if { |package| extra_packages.include?(package) } exclude_packages.delete_if { |package| extra_packages.include?(package) }