Skip to content

Commit

Permalink
Merge pull request #2681 from pypa/feature/omit-setup-requires
Browse files Browse the repository at this point in the history
Remove 'wheel' from setup_requires.
  • Loading branch information
jaraco committed May 23, 2021
2 parents e4a1057 + c5c2149 commit cc8d3b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions changelog.d/2681.change.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Setuptools own setup.py no longer declares setup_requires, but instead expects wheel to be installed as declared by pyproject.toml.
5 changes: 0 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@
package_data.setdefault('setuptools', []).extend(['*.exe'])
package_data.setdefault('setuptools.command', []).extend(['*.xml'])

needs_wheel = set(['release', 'bdist_wheel']).intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []


def pypi_link(pkg_filename):
"""
Expand Down Expand Up @@ -95,8 +92,6 @@ def _restore_install_lib(self):
'wincertstore-0.2.zip#md5=ae728f2f007185648d0c7a8679b361e2',
),
],
setup_requires=[
] + wheel,
)

if __name__ == '__main__':
Expand Down

0 comments on commit cc8d3b4

Please sign in to comment.