neothematrix / noip-renew

Auto renew (confirm) noip.com free hosts
https://hub.docker.com/r/moebiuss/noip-renew
Apache License 2.0
54 stars 20 forks source link

Added support for Python 3.5 #38

Closed Angel0ffDeath closed 10 months ago

Angel0ffDeath commented 1 year ago

@neothematrix As discussed, I made the necessary changes in setup.sh to run the script on Python 3.5. Issue #35 Tested on Raspberry pi 3B+ with debian 9 (stretch) and default for this release python 3.5.3. Works perfect. It will be great if other users could also test it with different python 3.5.x versions and different architectures. Changes do not reflect installation and execution of the script on Python 3.6 or higher. If python 3.5 is detected the script additionally installs via pip the package future-fstrings and then makes necessary changes in file /usr/local/bin/noip-renew.py. The original noip-renew.py file from setup folder remains intact. This way script can be installed from the same location on python 3.6 or higher.

@neothematrix Do not forget to update readme file. Now script requires python version higher than 3.5