Installation¶
Hapycolor can be installed with pip, or by cloning this repository.
Pip install¶
pip3 install hapycolor
Git install¶
git clone https://github.com/rvdz/hapycolor
cd hapycolor
python3 setup.py install
If you don’t have sudoers permissions, then run:
python3 setup.py install --user
Then, you should add the generated binary in your $PATH. To do so, execute the following command or add it in your bashrc or zshrc.
export PATH=<path/to/bin>:$PATH
For more information, please check: Installing Python Modules.
Requirements¶
- python >= 3.5
- imagemagick
- feh (only for Linux)
Debian or Ubuntu¶
sudo apt-get update && sudo apt-get install feh python3 python3-pip imagemagick -y
Test¶
To run the tests locally, excute:
python3 tests/run_suite.py --verbose <0-3>
To run the tests on a clean Debian Stretch image, you can build and run the provided dockerfile:
make build
make run
The created container can be stopped by running:
make stop