@@ -9,10 +9,10 @@ USAGE=$(
9
9
Configure a development environment for this repository.
10
10
11
11
It does the following:
12
- - Allows user to specify Python version.
13
- - Allows user to choose name for their virtual environment.
12
+ - Allows the user to specify the Python version to use for the virtual environment .
13
+ - Allows the user to specify a name for the virtual environment.
14
14
- Verifies pyenv and pyenv-virtualenv are installed.
15
- - Creates a Python virtual environment.
15
+ - Creates the Python virtual environment.
16
16
- Configures the activation of the virtual enviroment for the repo directory.
17
17
- Installs the requirements needed for development.
18
18
- Installs git pre-commit hooks.
@@ -29,7 +29,7 @@ Options:
29
29
-i | --install-hooks Install hook environments for all environments in the
30
30
pre-commit config file.
31
31
-l | --list-versions List available Python versions and select interactively.
32
- -n | --name Choose the name of the virtual environment.
32
+ -n | --name Specify the name of the virtual environment.
33
33
-v | --version Specify the Python version for the virtual environment.
34
34
35
35
END_OF_LINE
@@ -195,7 +195,7 @@ if [ $FORCE -ne 0 ]; then
195
195
elif [[ -f .python-version ]]; then
196
196
cat << 'END_OF_LINE '
197
197
An existing .python-version file was found. Either remove this file yourself
198
- or re-run with -f ( force) option to have it deleted along with the associated
198
+ or re-run with the -- force option to have it deleted along with the associated
199
199
virtual environment.
200
200
201
201
rm .python-version
216
216
if ! pyenv virtualenv ${PYTHON_VERSION:= } " ${env_name} " ; then
217
217
cat << END_OF_LINE
218
218
An existing virtual environment named $env_name was found. Either delete this
219
- environment yourself or re-run with -f ( force) option to have it deleted.
219
+ environment yourself or re-run with the -- force option to have it deleted.
220
220
221
221
pyenv virtualenv-delete ${env_name}
222
222
0 commit comments