Add cookiecutter template for module

This commit is contained in:
Cédric Krier
2023-01-11 19:01:37 +01:00
parent 1ca173894b
commit 746d1d840a
31 changed files with 1336 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ set -eu
OUTPUTDIR=`realpath "${1}"`
mkdir -p "${OUTPUTDIR}"
find . -path '*/doc/conf.py' | while read path; do
find . -name 'cookiecutter*' -prune -o -path '*/doc/conf.py' -print | while read path; do
path=`dirname "${path}"`
path=`dirname "${path}"`
package=`basename "${path}"`
+1 -1
View File
@@ -4,6 +4,6 @@ set -eu
PACKAGES=`realpath "${1}"`
mkdir -p "${PACKAGES}"
find . -name setup.py | while read path; do
find . -name 'cookiecutter*' -prune -o -name setup.py -print | while read path; do
(cd "`dirname ${path}`" && python setup.py sdist && cp dist/* "${PACKAGES}")
done