Try straightforward python3 compatibility options

This commit is contained in:
Aline Abler 2020-01-20 11:19:30 +01:00
parent f9a9067bd5
commit ba797fe1cc
2 changed files with 4 additions and 1 deletions

View File

@ -245,6 +245,7 @@ class MyStromSwitchPlugin(octoprint.plugin.SettingsPlugin,
__plugin_name__ = "MyStrom Switch" __plugin_name__ = "MyStrom Switch"
__plugin_pythoncompat__ = ">=2.7,<4"
def __plugin_load__(): def __plugin_load__():

View File

@ -57,7 +57,9 @@ plugin_ignored_packages = []
# Example: # Example:
# plugin_requires = ["someDependency==dev"] # plugin_requires = ["someDependency==dev"]
# additional_setup_parameters = {"dependency_links": ["https://github.com/someUser/someRepo/archive/master.zip#egg=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,
}
######################################################################################################################## ########################################################################################################################