Skip to content

ickc/naive-cookiecutter

Repository files navigation

naive_cookiecutter—just a naive cookiecutter to bootstrap Python project

Date: August 22, 2022

Documentation Status image1

GitHub Actions Coverage Status image2 Codacy Code Quality Status Scrutinizer Status CodeClimate Quality Status

Supported versions Supported implementations PyPI Wheel

PyPI Package latest release GitHub Releases Development Status Downloads

Commits since latest release License

naive_cookiecutter is just a naive cookiecutter to bootstrap Python project.

NEW_NAME=...
NEW_VERSION=...
NEW_YEAR=...
NEW_NAME_UPPER="$(echo $NEW_NAME | tr '[:lower:]' '[:upper:]')"
find . \! -path '*/.git/*' -type f -exec sed -i "s/naive_cookiecutter/$NEW_NAME/g" {} +
find . \! -path '*/.git/*' -type f -exec sed -i "s/NAIVE_COOKIECUTTER/$NEW_NAME_UPPER/g" {} +
find . \! -path '*/.git/*' -type f -exec sed -i "s/0.1.0/$NEW_VERSION/g" {} +
find . \! -path '*/.git/*' -type f -exec sed -i "s/2021–2022/$NEW_YEAR/g" {} +
mv src/naive_cookiecutter "src/$NEW_NAME"
mv tests/test_naive_cookiecutter.py "tests/test_$NEW_NAME.py"
  • update title in
    • docs/README.md
    • pyproject.toml

Optionally also sed

  • GitHub username ickc
  • author name Kolen Cheung
  • author email christian.kolen@gmail.com
rsync -av --stats --exclude .git ./ $TARGET_GIT_REPO_DIRECTORY

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published