-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix exception creating key file under Python3
This should fix #55 Also, remove stale dependencies for Python 2. Hey all, if you haven't already, you may want to backup your octoprint settings (recent versions have a feature for that) and make a new OctoPi 0.18 image for your pi. It'll move you to Python 3 and give you a fresh OS too.
- Loading branch information
Showing
2 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
plugin_identifier = "polarcloud" | ||
plugin_package = "octoprint_polarcloud" | ||
plugin_name = "OctoPrint-PolarCloud" | ||
plugin_version = "1.12" | ||
plugin_version = "1.13" | ||
plugin_description = """Connects OctoPrint to the PolarCloud so you can easily monitor and control outside of your local network""" | ||
plugin_author = "Mark Walker" | ||
plugin_author_email = "[email protected]" | ||
|
@@ -61,15 +61,6 @@ | |
|
||
if int(setuptools.__version__.split('.')[0]) < 40: | ||
print("May not be able to successfully install with setuptools earlier than 40.0.0. If this fails, upgrade setup tools with 'pip install --upgrade setuptools'.") | ||
else: | ||
plat = distutils.util.get_platform().replace('.', '_').replace('-', '_') | ||
if sys.version_info[0:2] == (2, 7) and plat in ['linux_armv7l', 'linux_armv6l'] and not hasattr(sys, 'pypy_version_info'): | ||
plugin_requires = [ | ||
"cryptography @ https://markwal.github.io/wheelhouse/cryptography-3.0-cp27-none-" + plat + ".whl", | ||
"cffi @ https://markwal.github.io/wheelhouse/cffi-1.12.1-cp27-none-" + plat + ".whl", | ||
"Pillow @ https://markwal.github.io/wheelhouse/Pillow-5.4.1-cp27-none-" + plat + ".whl", | ||
] + plugin_requires | ||
add_pillow = False | ||
except: | ||
import traceback | ||
traceback.print_exc() | ||
|