Skip to content

Commit

Permalink
Merge branch 'Version-2.6' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
avalon60 committed Nov 24, 2023
2 parents 993647d + 385a010 commit 715c0cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions theme_builder_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def add_arguments(self, actions):
directory. For example on MacOS or Linux, this will equate to $HOME, and on Windows it would be
<system_drive>:\\Users\\<username>.""", dest='install_location', default=None)

ap.add_argument("-p", "--package", required=False, action="store",
ap.add_argument("-p", "--package", required=True, action="store",
help=f"""Used for {PRODUCT_NAME} deployments & upgrades. Use -a along with the pathname to the
{PRODUCT_NAME} package ZIP file.""", dest='package', default=None)

Expand Down Expand Up @@ -447,11 +447,11 @@ def unpack_package(zip_pathname: Path, install_location: Path):
print('Checking Python interpreter version...')
lower_supported = '3.8.0'
upper_supported = '3.11.99'
if not (version_scalar(lower_supported) <= version_scalar(python_version) <= version_scalar(upper_supported)):
if version_scalar(lower_supported) > version_scalar(python_version):
print(f'WARNING: Python interpreter version, {python_version}, is unsupported.\n'
f'Only Python versions before {lower_supported} are not supported')
exit(1)
elif version_scalar(python_version) <= version_scalar(upper_supported):
elif version_scalar(python_version) > version_scalar(upper_supported):
print(f'WARNING: Python interpreter version, {python_version}, is unsupported.\n'
f' Only Python versions between {lower_supported} and {upper_supported} are fully supported')
else:
Expand Down

0 comments on commit 715c0cc

Please sign in to comment.