Metadata-Version: 2.1
Name: duty
Version: 0.2.0
Summary: A simple task runner.
Home-page: https://github.com/pawamoy/duty
License: ISC
Author: Timothée Mazzucotelli
Author-email: pawamoy@pm.me
Requires-Python: >=3.6,<4.0
Classifier: License :: OSI Approved
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Provides-Extra: tests
Requires-Dist: coverage (>=5.2.1,<6.0.0); extra == "tests"
Requires-Dist: invoke (>=1.4.1,<2.0.0); extra == "tests"
Requires-Dist: mypy (>=0.782,<0.783); extra == "tests"
Requires-Dist: pytest (>=6.0.1,<7.0.0); extra == "tests"
Requires-Dist: pytest-cov (>=2.10.1,<3.0.0); extra == "tests"
Requires-Dist: pytest-randomly (>=3.4.1,<4.0.0); extra == "tests"
Requires-Dist: pytest-sugar (>=0.9.4,<0.10.0); extra == "tests"
Requires-Dist: pytest-xdist (>=2.1.0,<3.0.0); extra == "tests"
Project-URL: Repository, https://github.com/pawamoy/duty
Description-Content-Type: text/markdown

# Duty

[![ci](https://github.com/pawamoy/duty/workflows/ci/badge.svg)](https://github.com/pawamoy/duty/actions?query=workflow%3Aci)
[![documentation](https://img.shields.io/badge/docs-mkdocs%20material-blue.svg?style=flat)](https://pawamoy.github.io/duty/)
[![pypi version](https://img.shields.io/pypi/v/duty.svg)](https://pypi.org/project/duty/)

A simple task runner.

## Requirements

Duty requires Python 3.6 or above.

<details>
<summary>To install Python 3.6, I recommend using <a href="https://github.com/pyenv/pyenv"><code>pyenv</code></a>.</summary>

```bash
# install pyenv
git clone https://github.com/pyenv/pyenv ~/.pyenv

# setup pyenv (you should also put these three lines in .bashrc or similar)
export PATH="${HOME}/.pyenv/bin:${PATH}"
export PYENV_ROOT="${HOME}/.pyenv"
eval "$(pyenv init -)"

# install Python 3.6
pyenv install 3.6.12

# make it available globally
pyenv global system 3.6.12
```
</details>

## Installation

With `pip`:
```bash
python3.6 -m pip install duty
```

With [`pipx`](https://github.com/pipxproject/pipx):
```bash
python3.6 -m pip install --user pipx

pipx install --python python3.6 duty
```

