diff --git a/jdownie/README.md b/jdownie/README.md new file mode 100644 index 0000000..70b279c --- /dev/null +++ b/jdownie/README.md @@ -0,0 +1,19 @@ + +# Python Setup + +To get my python scripts working i need some special modules. I've found the following approach to be more reliable. + +In my `.bash_profile`, i have these two lines pretty early on... + +``` +[ -d "$HOME/.venv" ] || python3 -m venv "$HOME/.venv" +[ -f "$HOME/.venv/bin/activate" ] && . "$HOME/.venv/bin/activate" +``` + +The first line will create your `.venv` folder if it doesn't exist. That second `activate` line will override your installed `python3` and `pip3` paths. The following will install the modules that i require. + +``` +pip3 install -r requirements.txt +``` + +This should set you up to use any of my `python` based solutions. diff --git a/jdownie/requirements.txt b/jdownie/requirements.txt new file mode 100644 index 0000000..c3726e8 --- /dev/null +++ b/jdownie/requirements.txt @@ -0,0 +1 @@ +pyyaml