diff --git a/README.md b/README.md index c51335a..f62bd99 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -A Python implementation of [OpenLCB](http://www.openlcb.org)/[LCC](https://www.nmra.org/lcc) based on the [LccTools](https://apps.apple.com/sr/app/lcctools/id1640295587) app's [Swift implementation](https://github.com/bobjacobsen/OpenlcbLibrary) as of January 2024. +A Python implementation of [OpenLCB](https://www.openlcb.org)/[LCC](https://www.nmra.org/lcc) based on the [LccTools](https://apps.apple.com/sr/app/lcctools/id1640295587) app's [Swift implementation](https://github.com/bobjacobsen/OpenlcbLibrary) as of January 2024. Requires Python 3.8 or later. diff --git a/examples_gui.py b/examples_gui.py index bc005df..c58615f 100644 --- a/examples_gui.py +++ b/examples_gui.py @@ -309,7 +309,7 @@ def gui(self, parent): command_text="Default", tooltip=('("05.01.01.01.03.01 for Python openlcb examples only:'), ) - self.unique_ranges_url = "http://registry.openlcb.org/uniqueidranges" + self.unique_ranges_url = "https://registry.openlcb.org/uniqueidranges" underlined_url = \ ''.join([letter+'\u0332' for letter in self.unique_ranges_url]) # ^ '\u0332' is unicode for "underline previous character" diff --git a/examples_settings.py b/examples_settings.py index 0974e90..a9ea7ab 100644 --- a/examples_settings.py +++ b/examples_settings.py @@ -32,7 +32,7 @@ "Warning: *only for openlcb*:" " 05.01.01.01.03.01 is reserved by OpenLCB Python examples." " Find or suggest your organization's range" - " at http://registry.openlcb.org/uniqueidranges" + " at https://registry.openlcb.org/uniqueidranges" " and serialize if producing hardware (See LCC Standard(s))." ), "farNodeID_comment": ( diff --git a/pyproject.toml b/pyproject.toml index e296aa2..7a45dee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,6 +41,10 @@ requires-python = ">= 3.8" # dependencies = [ # ] +[project.optional-dependencies] +gui = ["zeroconf"] +# ^ GUI uses zeroconf for a drop-down to select an TCP/IP device if any advertise an openlcb-can service. + [project.urls] # List of names: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#urls Repository = "https://github.com/bobjacobsen/PythonOlcbNode"