Skip to content

Commit e2eae54

Browse files
authored
Merge pull request #2021 from stonebig/master
non-windows compatibility fix
2 parents 8e21d0d + 4bb261f commit e2eae54

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

wppm/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
OTHER DEALINGS IN THE SOFTWARE.
2929
"""
3030

31-
__version__ = '17.3.20260412'
31+
__version__ = '17.3.20260510'
3232
__license__ = __doc__
3333
__project_url__ = 'http://winpython.github.io/'

wppm/wppm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import json
1515
from pathlib import Path
1616
from argparse import ArgumentParser, RawTextHelpFormatter
17-
from . import utils, piptree, associate, diff, __version__
17+
from . import utils, piptree, diff, __version__
1818
from . import wheelhouse as wh
1919
from operator import itemgetter
2020
# Workaround for installing PyVISA on Windows from source:
@@ -340,6 +340,7 @@ def main(test=False):
340340
print("continue ? Y/N")
341341
theAnswer = input()
342342
if theAnswer == "Y":
343+
import associate
343344
associate.register(dist.target, verbose=args.verbose)
344345
sys.exit()
345346
if args.unregisterWinPython:
@@ -352,6 +353,7 @@ def main(test=False):
352353
print("continue ? Y/N")
353354
theAnswer = input()
354355
if theAnswer == "Y":
356+
import associate
355357
associate.unregister(dist.target, verbose=args.verbose)
356358
sys.exit()
357359
if utils.is_python_distribution(args.target):

0 commit comments

Comments
 (0)