fabsetup-theno-termdown

Setup and install termdown


Keywords
python, development, utilities, library
License
MIT
Install
pip install fabsetup-theno-termdown==0.1.5

Documentation

fabsetup-theno-termdown

Install or update termdown.

With this fabsetup addon you can install or update termdown, a "[c]ountdown timer and stopwatch in your terminal".

It installs termdown via pip install --user termdown. Also, it installs a bash-wrapper script at ~/bin/termdown which is convenient to time pomodoro sessions and pops up a notification when the timer finishes:

termdown 25m

Touched files, dirs, and installed packages:

    ~/bin/termdown
    pip-package termdown (`--user` install)

Usage

# task info
fabsetup -d theno.termdown

# run task
fabsetup theno.termdown

Installation

As a pypi package with command pip (recommended way):

pip install  fabsetup-theno-termdown

Development

https://github.com/theno/fabsetup/blob/master/howtos/fabsetup-addon.md

Devel commands:

# save changes
git commit -am 'I describe my changes'

# upload to github
git push origin master

# update version number in fabsetup_theno_termdown/_version.py

# create and publish package at pypi
fab -f fabfile-dev.py  pypi

# clean up
fab -f fabfile-dev.py  clean

Clone the github repository:

mkdir -p ~/.fabsetup-addon-repos
git clone https://github.com/theno/fabsetup-theno-termdown.git  ~/.fabsetup-addon-repos/fabsetup-theno-termdown

# install fabsetup if not done already
pip install fabsetup

# fabsetup now finds the addon bcause it is located at ~/.fabsetup-addon-repos
fabsetup -d theno.termdown

More ways to run the task:

# you also can run the task directly
cd ~/.fabsetup-addon-repos/fabsetup-theno-termdown
fab -d theno.termdown

# or from a cloned fabsetup repository
git clone https://github.com/theno/fabsetup.git ~/.fabsetup
cd ~/.fabsetup
fab -d theno.termdown

# run directly, fabsetup from cloned repo
cd ~/.fabsetup-addon-repos/fabsetup-theno-termdown
PYTHONPATH=~/.fabsetup fab -d theno.termdown