Manage and display metadata for a project created with the frkl.python-project template.
Documentation still to be done.
- Python (version >=3.6)
- pip, virtualenv
- git
- make
- direnv (optional)
Notes:
- if using direnv, adjust the Python version in
.envrc
(should not be necessary) - if not using direnv, you have to setup and activate your Python virtualenv yourself, manually, before running
make init
git clone https://gitlab.com/frkl/frkl.project-meta
cd frkl.project-meta
mv .envrc.disabled .envrc
direnv allow # if using direnv, otherwise activate virtualenv
make init
init
: init development project (install project & dev dependencies into virtualenv, as well as pre-commit git hook)binary
: create binary for project (will install pyenv -- checkscripts/build-binary
for details)flake
: run flake8 testsmypy
: run mypy teststest
: run unit testsdocs
: create static documentation pagesserve-docs
: serve documentation pages (incl. auto-reload)clean
: clean build directories
For details (and other, minor targets), check the Makefile
.
> make test
# or
> make coverage
This project uses cruft to apply updates to the base Python project template to this repository. Check out it's documentation for more information.
cruft update
# interactively approve changes, make changes if necessary
git add *
git commit -m "chore: updated project from template"
Please check the LICENSE file in this repository (it's a short license!).