未验证 提交 9ee8cc97 编辑于 作者: Markus Reiter's avatar Markus Reiter 提交者: GitHub
浏览文件

Merge pull request #9337 from dtrodrigues/python-downcase

pypi: downcase main package name
......@@ -231,7 +231,7 @@ module PyPI
end
# Remove extra packages that may be included in pipgrip output
exclude_list = %W[#{main_package.name} argparse pip setuptools wheel wsgiref].map { |p| Package.new p }
exclude_list = %W[#{main_package.name.downcase} argparse pip setuptools wheel wsgiref].map { |p| Package.new p }
found_packages.delete_if { |package| exclude_list.include? package }
new_resource_blocks = ""
......
支持 Markdown
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册