Skip to content

Commit

Permalink
Must remove build/ before building wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
brandon-rhodes committed Mar 8, 2024
1 parent d634f11 commit 915cc02
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ set -ex
cd "$(readlink -f $(dirname "${BASH_SOURCE[0]}"))"
cd ..

# Alas! Unless we 'rm' the build/ directory first, the wheel will
# include old files that are no longer part of Skyfield but that are
# left over from previous builds.
rm -rf build/

python setup.py sdist $@
SKYFIELD_USE_SETUPTOOLS=yes python setup.py bdist_wheel $@

0 comments on commit 915cc02

Please sign in to comment.