Skip to content

Commit

Permalink
Don't add wheels when checking if pip gets confused when building wheels
Browse files Browse the repository at this point in the history
setuptools expects only one wheel file to be present in dist/
  • Loading branch information
pradyunsg committed Feb 5, 2019
1 parent 9e0a4d6 commit 51086b3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/functional/test_wheel.py
Expand Up @@ -17,7 +17,8 @@ def auto_with_wheel(with_wheel):
def add_files_to_dist_directory(folder):
(folder / 'dist').makedirs()
(folder / 'dist' / 'a_name-0.0.1.tar.gz').write("hello")
(folder / 'dist' / 'a_name-0.0.1-py2.py3-none-any.whl').write("hello")
# Not adding a wheel file since that confuses setuptools' backend.
# (folder / 'dist' / 'a_name-0.0.1-py2.py3-none-any.whl').write("hello")


def test_wheel_exit_status_code_when_no_requirements(script):
Expand Down

0 comments on commit 51086b3

Please sign in to comment.