Skip to content

docs: qtvcp: use the python3 path for the packaged designer plugin - #4811

Open
revjmoney wants to merge 1 commit into
LinuxCNC:2.9from
revjmoney:docs-qtvcp-python3-plugin-path
Open

revjmoney wants to merge 1 commit into
LinuxCNC:2.9from
revjmoney:docs-qtvcp-python3-plugin-path

Conversation

@revjmoney

Copy link
Copy Markdown

Finishes the last item andypugh pointed out on #1320: the QtVCP docs still gave python2.7 locations for qtvcp_plugin.py in a package install.

The package installs it under $(SITEPY)/qtvcp/plugins (src/Makefile), and configure resolves SITEPY to the deb_system platlib, so the file is at /usr/lib/python3/dist-packages/qtvcp/plugins/qtvcp_plugin.py. The old paths were also missing their leading slash.

Targeted at 2.9 because it has the same text and the contributing guide puts doc fixes on the oldest applicable branch. Happy to retarget to master if you prefer.

Left alone on purpose:

  • The Spanish python2 paragraph just above is inside a //// FIXME comment block, so it is not rendered.
  • docs/src/gui/gladevcp.adoc (Troubleshooting) still mentions a stale /usr/lib/python2.6/dist-packages/hal.so. That is a historical upgrade tip rather than a wrong path, so whether to drop it is your call. I can add it here if you want.

Not built locally (no asciidoc toolchain on this machine); the change is two literal lines replaced by one.

Refs #1320

The Qt Designer section still gave python2.7 locations for
qtvcp_plugin.py in a package install. The package installs it under
$(SITEPY)/qtvcp/plugins (src/Makefile), which configure resolves to
the deb_system platlib, /usr/lib/python3/dist-packages. Also add the
leading slash the old paths were missing.

Refs LinuxCNC#1320
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant