Skip to content

toirl/emica

Repository files navigation

EmiCa

Flexible emission calculator

Installation

cd emica

# Create a virtual environemt.
python3.12 -m venv venv
source venv/bin/activate

# Install package as editable including development requirements.
make develop

# After the repository is prepared commit this as your initial commit
git add .
git commit -m "Initial commit"

Development

A lot of commong task during development are available using the make command. Here is a list of available commands:

clean                Remove all Python artifacts.
clean-pyc            Remove Python file artifacts.
clean-dist           Clean build artifacts.
test                 Run tests quickly with the default Python.
docs:                Build docs.
docs-serve:          Build docs and serve on a local webserver.
coverage             Run coverage.
format               Format code following configured styleguide.
install              Install the package to the active Python site-packages.
develop              Install the package for local development.
bumbversion          Bump version based on conventional commits.
changelog            Generate CHANGELOG.md based on conventional commits.
check-version        Check versions of installed packages.
dist                 Build package.
docker-build         Build container for this application.
docker-publish       Publish docker container on docker.io.
docker-run-develop   Run bash in container for development.
docker-run           Run docker container.

This repository makes use of pre-commit hooks to automatically do some cleanup and enforce code style before something is actually commited.

Credit

This template was generated from the Cookiecutter mypyproject template.

About

Flexible emission calculator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published