10 lines
200 B
Bash
Executable File
10 lines
200 B
Bash
Executable File
#!/bin/sh
|
|
set -eu
|
|
|
|
PACKAGES=`realpath "${1}"`
|
|
mkdir -p "${PACKAGES}"
|
|
|
|
find . -name setup.py | while read path; do
|
|
(cd "`dirname ${path}`" && python setup.py sdist && cp dist/* "${PACKAGES}")
|
|
done
|