pystand 1.10__py3-none-any.whl → 1.11__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pystand-1.10.dist-info → pystand-1.11.dist-info}/METADATA +4 -4
- pystand-1.11.dist-info/RECORD +6 -0
- {pystand-1.10.dist-info → pystand-1.11.dist-info}/WHEEL +1 -1
- pystand.py +10 -8
- pystand-1.10.dist-info/RECORD +0 -6
- {pystand-1.10.dist-info → pystand-1.11.dist-info}/entry_points.txt +0 -0
- {pystand-1.10.dist-info → pystand-1.11.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pystand
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.11
|
4
4
|
Summary: Install Python versions from python-build-standalone project
|
5
5
|
Author-email: Mark Blakeney <mark.blakeney@bullet-systems.net>
|
6
6
|
License: GPLv3
|
@@ -155,7 +155,7 @@ options:
|
|
155
155
|
rate limiting.
|
156
156
|
--no-strip do not use or create stripped binaries
|
157
157
|
--no-extra-strip do not restrip already stripped source binaries
|
158
|
-
-V
|
158
|
+
-V, --version just show pystand version
|
159
159
|
|
160
160
|
Commands:
|
161
161
|
{install,update,remove,list,show,path}
|
@@ -280,8 +280,8 @@ usage: pystand path [-h] [-p] [version]
|
|
280
280
|
Show path prefix to installed version base directory.
|
281
281
|
|
282
282
|
positional arguments:
|
283
|
-
version version to return path for, or latest
|
284
|
-
not specified
|
283
|
+
version version to return path for, or latest installed version
|
284
|
+
if not specified
|
285
285
|
|
286
286
|
options:
|
287
287
|
-h, --help show this help message and exit
|
@@ -0,0 +1,6 @@
|
|
1
|
+
pystand.py,sha256=HuCNuIYwXUcVCpAzqtEEj9hdMn-S4j4F7t8yYfNuYeU,32048
|
2
|
+
pystand-1.11.dist-info/METADATA,sha256=6NYVL_gVjjOT0kvk66KNUFfXlRU-KuGo5HBzuO16w0g,15923
|
3
|
+
pystand-1.11.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
4
|
+
pystand-1.11.dist-info/entry_points.txt,sha256=DG4ps3I3nni1bubV1tXs6u8FARgkdbAYaEAzZD4RAo8,41
|
5
|
+
pystand-1.11.dist-info/top_level.txt,sha256=NoWUh19UQymAJLHTCdxMnVwV6Teftef5fzyF3OWLyNY,8
|
6
|
+
pystand-1.11.dist-info/RECORD,,
|
pystand.py
CHANGED
@@ -529,8 +529,8 @@ def main() -> str | None:
|
|
529
529
|
help='do not use or create stripped binaries')
|
530
530
|
opt.add_argument('--no-extra-strip', action='store_true',
|
531
531
|
help='do not restrip already stripped source binaries')
|
532
|
-
opt.add_argument('-V', action='store_true',
|
533
|
-
help=f'show {PROG} version')
|
532
|
+
opt.add_argument('-V', '--version', action='store_true',
|
533
|
+
help=f'just show {PROG} version')
|
534
534
|
cmd = opt.add_subparsers(title='Commands', dest='cmdname')
|
535
535
|
|
536
536
|
# Add each command ..
|
@@ -569,12 +569,12 @@ def main() -> str | None:
|
|
569
569
|
|
570
570
|
args = opt.parse_args(shlex.split(cnflines) + sys.argv[1:])
|
571
571
|
|
572
|
-
if args.V:
|
573
|
-
print(get_version())
|
574
|
-
|
575
572
|
if 'func' not in args:
|
576
|
-
if
|
577
|
-
|
573
|
+
if args.version:
|
574
|
+
print(get_version())
|
575
|
+
return None
|
576
|
+
|
577
|
+
opt.print_help()
|
578
578
|
return None
|
579
579
|
|
580
580
|
distribution = args.distribution or distro_default
|
@@ -841,12 +841,14 @@ class _path(COMMAND):
|
|
841
841
|
help='return full path to python executable')
|
842
842
|
parser.add_argument('version', nargs='?',
|
843
843
|
help='version to return path for, or latest '
|
844
|
-
'
|
844
|
+
'installed version if not specified')
|
845
845
|
|
846
846
|
@staticmethod
|
847
847
|
def run(args: Namespace) -> str | None:
|
848
848
|
matcher = VersionMatcher([f.name for f in iter_versions(args)])
|
849
849
|
version = matcher.match(args.version) or args.version
|
850
|
+
if not version:
|
851
|
+
return f'No Python version installed.'
|
850
852
|
path = args._versions / version
|
851
853
|
if not path.is_dir():
|
852
854
|
return f'Version "{version}" is not installed.'
|
pystand-1.10.dist-info/RECORD
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
pystand.py,sha256=KJbvxHMzi28M4HqgGS9A4YaGYrpDn-T4hhuaQqbGW2E,31942
|
2
|
-
pystand-1.10.dist-info/METADATA,sha256=f_l5yws3MCMJicGVN-o40gj1RlehBZ_Hg9jeYxLzLb4,15916
|
3
|
-
pystand-1.10.dist-info/WHEEL,sha256=cVxcB9AmuTcXqmwrtPhNK88dr7IR_b6qagTj0UvIEbY,91
|
4
|
-
pystand-1.10.dist-info/entry_points.txt,sha256=DG4ps3I3nni1bubV1tXs6u8FARgkdbAYaEAzZD4RAo8,41
|
5
|
-
pystand-1.10.dist-info/top_level.txt,sha256=NoWUh19UQymAJLHTCdxMnVwV6Teftef5fzyF3OWLyNY,8
|
6
|
-
pystand-1.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|