diff --git a/octoprint_mystromswitch/__init__.py b/octoprint_mystromswitch/__init__.py index f8c350f..52564d3 100644 --- a/octoprint_mystromswitch/__init__.py +++ b/octoprint_mystromswitch/__init__.py @@ -429,6 +429,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 704ca33..dc851fd 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, +} ########################################################################################################################