Merge pull request #29 from Jereviendrai/master
Try straightforward python3 compatibility options
This commit is contained in:
commit
1f5efa9c2a
@ -429,6 +429,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__():
|
||||||
|
4
setup.py
4
setup.py
@ -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,
|
||||||
|
}
|
||||||
|
|
||||||
########################################################################################################################
|
########################################################################################################################
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user