diff --git a/wppm/__init__.py b/wppm/__init__.py index 6c5893f6..f25836e1 100644 --- a/wppm/__init__.py +++ b/wppm/__init__.py @@ -28,6 +28,6 @@ OTHER DEALINGS IN THE SOFTWARE. """ -__version__ = '17.3.20260412' +__version__ = '17.3.20260510' __license__ = __doc__ __project_url__ = 'http://winpython.github.io/' diff --git a/wppm/wppm.py b/wppm/wppm.py index 73e93b38..65f83335 100644 --- a/wppm/wppm.py +++ b/wppm/wppm.py @@ -14,7 +14,7 @@ import json from pathlib import Path from argparse import ArgumentParser, RawTextHelpFormatter -from . import utils, piptree, associate, diff, __version__ +from . import utils, piptree, diff, __version__ from . import wheelhouse as wh from operator import itemgetter # Workaround for installing PyVISA on Windows from source: @@ -340,6 +340,7 @@ def main(test=False): print("continue ? Y/N") theAnswer = input() if theAnswer == "Y": + import associate associate.register(dist.target, verbose=args.verbose) sys.exit() if args.unregisterWinPython: @@ -352,6 +353,7 @@ def main(test=False): print("continue ? Y/N") theAnswer = input() if theAnswer == "Y": + import associate associate.unregister(dist.target, verbose=args.verbose) sys.exit() if utils.is_python_distribution(args.target):