nokia / robotframework-autoitlibrary

Other
38 stars 33 forks source link

Fixes to work with latest Python versions #39

Closed jjdenhup closed 1 week ago

jjdenhup commented 1 week ago

This should fix #37

Cause of this issue is that much of what robotframework-autoitlibrary does to install is deprecated and/or not recommend practices in newer pythons. A complete rewrite would be better, but I managed to get it working with fairly minimal changes:

lucyking commented 1 week ago

Hi @jjdenhup, could you add this lines back to setup.py? since this lib only support Windows OS. remains code looks fine to me.

if os.name == "nt" :
   ......
else :
  print("AutoItLibrary cannot be installed on non-Windows platforms.")
  sys.exit(2)
jjdenhup commented 1 week ago

Hi @jjdenhup, could you add this lines back to setup.py? since this lib only support Windows OS. remains code looks fine to me.

if os.name == "nt" :
   ......
else :
  print("AutoItLibrary cannot be installed on non-Windows platforms.")
  sys.exit(2)

Replaced. Sorry about that.

lucyking commented 1 week ago

@jjdenhup Merged. Many thanks!