-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f4c7e8
commit b600bac
Showing
9 changed files
with
84 additions
and
467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,30 @@ | ||
if has guix; then | ||
GUIX_PROFILE="${PWD}/.guix-root" | ||
rm -f "$GUIX_PROFILE" | ||
use guix git-cal python-wrapper poetry pre-commit | ||
use guix git-cal python-wrapper python-virtualenv python-flit python-keyring | ||
else | ||
venv_dir="${PWD}/.venv" | ||
export FLIT_INSTALL_PYTHON="${venv_dir}/bin/python" | ||
|
||
# Add development scripts to PATH | ||
PATH_add "$(pwd)/scripts" | ||
|
||
venv_dir=".venv" | ||
|
||
if [ ! -e "$venv_dir/bin/python" ] ; then | ||
if [ ! -e "$FLIT_INSTALL_PYTHON" ] ; then | ||
rm -rvf "$venv_dir" | ||
pre-commit uninstall | ||
fi | ||
if [ ! -d "$venv_dir" ] ; then | ||
poetry install | ||
pre-commit install | ||
virtualenv -p `which python3` "$venv_dir" | ||
flit install | ||
fi | ||
fi | ||
|
||
# Add development scripts to PATH | ||
PATH_add "$(pwd)/scripts" | ||
|
||
if has git-cal; then | ||
clear | ||
git-cal --author="$(git config user.name)" | ||
fi | ||
|
||
cat << EOF | ||
cat << EOF | ||
The 'scripts' directory has been added to your PATH: you can now invoke scripts without typing the relative path. | ||
EOF | ||
|
||
fi | ||
EOF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.pypirc | ||
.idea | ||
.venv | ||
*.pyc | ||
__pycache__ | ||
dist | ||
.vscode | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
""" | ||
ocui is a terminal user interface to facilitate the most common tasks around | ||
OCI containers running on a single host. You can create, start and kill | ||
containers with few keystrokes, as well as look at logs in real time, or | ||
inspect images. | ||
ocui continually watches the system for changes and offers adequate commands | ||
to interact with the system resources. | ||
""" | ||
|
||
__version__ = "0.1.0" |
Oops, something went wrong.