From 64653735493c085c7d18aac786f63afb190fccd7 Mon Sep 17 00:00:00 2001 From: nmay231 Date: Tue, 8 Dec 2020 00:17:36 -0700 Subject: [PATCH] Added help scripts --- bin/help.config | 9 +++++++++ bin/help.links | 6 ++++++ bin/help.overview | 15 +++++++++++++++ 3 files changed, 30 insertions(+) create mode 100755 bin/help.config create mode 100755 bin/help.links create mode 100755 bin/help.overview diff --git a/bin/help.config b/bin/help.config new file mode 100755 index 0000000..679f0d1 --- /dev/null +++ b/bin/help.config @@ -0,0 +1,9 @@ +# Output should be freeform text. asdf decides how to reformat it. + +echo 'asdf-python can automatically install a default set of Python packages with pip right after installing a Python version. To enable this feature, provide a $HOME/.default-python-packages file that lists one package per line, for example: + + ansible + pipenv + +You can specify a non-default location of this file by setting a ASDF_PYTHON_DEFAULT_PACKAGES_FILE variable. +' diff --git a/bin/help.links b/bin/help.links new file mode 100755 index 0000000..27ec24f --- /dev/null +++ b/bin/help.links @@ -0,0 +1,6 @@ +# Output should be : <link> + +echo 'home-page: https://github.com/danhper/asdf-python +dependencies: https://github.com/pyenv/pyenv/wiki#suggested-build-environment +troubleshooting: https://github.com/pyenv/pyenv/wiki/Common-build-problems +' diff --git a/bin/help.overview b/bin/help.overview new file mode 100755 index 0000000..26a439e --- /dev/null +++ b/bin/help.overview @@ -0,0 +1,15 @@ +# Output should be freeform text. asdf decides how to reformat it. + +echo 'Basic usage: + + asdf install python 3.6.12 + asdf global python 3.6.12 + python -V + Python 3.6.12 + +Check the asdf documentation for more instructions on how to install & manage versions of Python. Please make sure you have the required system dependencies installed before trying to install Python. + +If you use pip to install a module like `ipython` that has binaries, you will need to run `asdf reshim python` for the binary to be in your path. + +Under the hood, asdf-python uses python-build (the same backend of pyenv) to build and install Python. Check its readme for more information about build options and the common build problems wiki page for any issues encountered during installation of python versions. +'