diff --git a/octoprint_mystromswitch/__init__.py b/octoprint_mystromswitch/__init__.py index 04492c9..5c64c16 100644 --- a/octoprint_mystromswitch/__init__.py +++ b/octoprint_mystromswitch/__init__.py @@ -245,6 +245,7 @@ class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin, __plugin_name__ = "MyStrom Switch" +__plugin_pythoncompat__ = ">=2.7,<4" def __plugin_load__(): diff --git a/setup.py b/setup.py index 4901dbb..3cfe8db 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,9 @@ plugin_ignored_packages = [] # Example: # plugin_requires = ["someDependency==dev"] # additional_setup_parameters = {"dependency_links": ["https://github.com/someUser/someRepo/archive/master.zip#egg=someDependency-dev"]} -additional_setup_parameters = {} +additional_setup_parameters = { + "use_2to3": True, +} ########################################################################################################################