Skip to content

Commit

Permalink
Fixing python setup.py sdist?
Browse files Browse the repository at this point in the history
  • Loading branch information
lschoe committed Jul 15, 2024
1 parent f1b492f commit 5c98ce0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ def _libuv_autogen(env):

class uvloop_sdist(sdist):
def run(self):
# Make sure sdist archive contains configure
# to avoid the dependency on autotools.
_libuv_autogen(_libuv_build_env())
if sys.platform != 'win32':
# Make sure sdist archive contains configure
# to avoid the dependency on autotools.
_libuv_autogen(_libuv_build_env())
super().run()


Expand Down

0 comments on commit 5c98ce0

Please sign in to comment.