Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
package.sh: Remove architecture-specific files from the sdist
Also move this under tools/ while we're at it. Conceptually this reverts 68b8fcb and fixes #121 in a different way.
- Loading branch information
Tavian Barnes
committed
Feb 8, 2019
1 parent
f8f6af8
commit 906b50b
Showing
5 changed files
with
41 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
if ! grep 'vsyscall=emulate' /proc/cmdline >/dev/null; then | ||
cat >&2 <<EOF | ||
WARNING: The manylinux Docker images require the host kernel to have vsyscall | ||
emulation enabled, usually by adding vsyscall=emulate to the kernel command line | ||
EOF | ||
fi | ||
|
||
./tools/prep-release.sh | ||
|
||
# Set up all the third-party dependencies | ||
./setup.sh | ||
|
||
# But don't include too much in the source package | ||
rm -rf textworld/thirdparty/I7* textworld/thirdparty/inform7-6M62 | ||
(cd textworld/thirdparty/frotz && make clean && rm -f dfrotz) | ||
make -C textworld/thirdparty/glulx/Git-Glulx clean | ||
make -C textworld/thirdparty/glulx/cheapglk clean | ||
rm -rf build *.egg-info | ||
|
||
python setup.py sdist | ||
|
||
docker run --rm -v "$PWD":/usr/src/TextWorld quay.io/pypa/manylinux1_x86_64 /usr/src/TextWorld/tools/package-impl.sh |