diff --git a/snowblocks/pip/pip.conf b/snowblocks/pip/pip.conf new file mode 100644 index 0000000..bcbb815 --- /dev/null +++ b/snowblocks/pip/pip.conf @@ -0,0 +1,12 @@ +# Copyright (C) 2016-present Arctic Ice Studio +# Copyright (C) 2016-present Sven Greb + +# Project: igloo +# Repository: https://github.com/arcticicestudio/igloo +# License: MIT +# References: +# https://pypi.org/project/pip +# https://pip.pypa.io/en/stable/user_guide/#config-file + +[global] +timeout = 60 diff --git a/snowblocks/pip/requirements.iceowl.txt b/snowblocks/pip/requirements.iceowl.txt new file mode 100644 index 0000000..ff148fe --- /dev/null +++ b/snowblocks/pip/requirements.iceowl.txt @@ -0,0 +1,26 @@ +# Copyright (C) 2016-present Arctic Ice Studio +# Copyright (C) 2016-present Sven Greb + +# Project: igloo +# Repository: https://github.com/arcticicestudio/igloo +# License: MIT +# References: +# https://pypi.org/project/pip +# https://packaging.python.org/tutorials/installing-packages/#requirements-files +# https://pip.pypa.io/en/latest/reference/pip_install/#requirements-file-format +# https://pip.pypa.io/en/stable/user_guide/#config-file + +# +------+ +# + Core + +# +------+ + +# The base tool to create isolated Python environments. +virtualenv + +# +------+ +# + Apps + +# +------+ + +# Required by the custom hooks of the "taskwarrior" snowblock to interact with Taskwarrior API. +# See https://github.com/arcticicestudio/igloo/tree/develop/snowblocks/taskwarrior for details. +taskw diff --git a/snowblocks/pip/snowblock.json b/snowblocks/pip/snowblock.json new file mode 100644 index 0000000..42574cb --- /dev/null +++ b/snowblocks/pip/snowblock.json @@ -0,0 +1,21 @@ +[ + { + "clean": ["~/.config/pip"] + }, + { + "link": { + "~/.config/pip/pip.conf": { + "create": true, + "force": true, + "path": "pip.conf" + }, + "~/.config/pip/requirements.txt": { + "create": true, + "force": true, + "hosts": { + "iceowl": "requirements.iceowl.txt" + } + } + } + } +]