Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Clone this repository and use
python setup.py install
. After install,gyb
can be used on the command line anywhere (client_secrets.json
andoauth2service.json
need to be in the current directory or use--config-folder
).For installation, you could also use
pip install git+https://github.com/GAM-team/got-your-back.git
if this PR is accepted. (pip install got-your-back
might be possible if Mr. Lee wishes to use twine to upload the package to PyPI).While I would have liked to import from
gyb.py
on line 4 of setup.py, the packages in that module may not have been installed yet, leading to an import error. In an effort to modify as little of the original code as possible, I copied the values of the__author__
,__email__
,__program_name__
, and__version__
to get around this.Line 56 of setup.py adds
gyb
to the PATH. Tested on Windows (Python 3.12), MacOS (Python 3.11), and thepython:3.12-slim
Docker container (Debian Linux).The original
gyb.py
script was modified as minimally as possible to allowsetup.py
to make an entry point script. The behavior should be precisely the same whether or not it was installed with pip.Relevant issues:
#239
#379