Skip to content

Commit

Permalink
Merge pull request bobjacobsen#48 from Hierosoft/metadata-fixes
Browse files Browse the repository at this point in the history
Change to https for URLs and mark an optional dependency for the example GUI.
  • Loading branch information
bobjacobsen authored Jul 21, 2024
2 parents 3101d8a + a715316 commit c8753d6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion examples_gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -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": (
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit c8753d6

Please sign in to comment.