Skip to content

Commit

Permalink
Explain setuptools build dir cleaning
Browse files Browse the repository at this point in the history
Put bdist_wheel after build_ext too, which seems more logical, though
both variants work.
  • Loading branch information
ulfalizer committed Apr 28, 2018
1 parent 25f2322 commit df55091
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build-wheels.bat
Expand Up @@ -42,7 +42,9 @@ if -%1-==-- goto end

echo Building wheel for Python %1

py -%1 setup.py clean --all bdist_wheel build_ext
:: Clean the setuptools build directory before building the wheel, to make sure
:: we build from scratch
py -%1 setup.py clean --all build_ext bdist_wheel
if %errorlevel% neq 0 (
echo Check that you have the 'wheel' module installed for Python %1 and are
echo building with the right compiler
Expand Down

0 comments on commit df55091

Please sign in to comment.