Skip to content

Commit

Permalink
Update install.py
Browse files Browse the repository at this point in the history
Fixing installation script for non-pipx installations
  • Loading branch information
s-n-g authored May 26, 2023
1 parent fabf90f commit 027c368
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pyradio/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -1324,7 +1324,7 @@ def _do_it(self, mode='update'):
parser.add_argument('-oc', '--open-cache', action='store_true', help=SUPPRESS)
parser.add_argument('-sc', '--show-cache', action='store_true', help=SUPPRESS)
parser.add_argument('-cc', '--clear-cache', action='store_true', help=SUPPRESS)
parser.add_argument('-i', '--isolated', action='store_true', help=SUPPRESS)
parser.add_argument('-i', '--isolate', action='store_true', help=SUPPRESS)
if HAS_PIPX:
parser.add_argument('-gc', '--get-cache', action='store_true',
help='Download source code, keep it in the cache and exit.')
Expand All @@ -1333,7 +1333,10 @@ def _do_it(self, mode='update'):
parser.add_argument('--python2', action='store_true',
help='Install using python 2.')
else:
parser.add_argument('-i', '--isolated', action='store_true', help=SUPPRESS)
parser.add_argument('-oc', '--open-cache', action='store_true', help=SUPPRESS)
parser.add_argument('-sc', '--show-cache', action='store_true', help=SUPPRESS)
parser.add_argument('-cc', '--clear-cache', action='store_true', help=SUPPRESS)
parser.add_argument('-i', '--isolate', action='store_true', help=SUPPRESS)
parser.add_argument('--python2', action='store_true', help=SUPPRESS)
parser.add_argument('-R', '--uninstall', action='store_true',
help='Uninstall PyRadio.')
Expand Down

0 comments on commit 027c368

Please sign in to comment.