Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(Update): implement python package entries #2092

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

Jomik
Copy link

@Jomik Jomik commented Dec 22, 2024

Description

This PR adds support for python applications, see Moonraker Python Application

Related Tickets & Documents

Discord Thread

Testing:

[update_manager python_test]
type: python
channel: dev
virtualenv: ~/klippy-env
project_name: cartographer
is_system_service: False
managed_services: klipper
info_tags: desc=Python Test

You will have to do the initial install with ~/klippy-env/bin/pip install git+https://github.com/Jomik/cartographer-scanner-klippy.git
To uninstall ~/klippy-env/bin/pip uninstall cartographer

Mobile & Desktop Screenshots/Recordings

image
image
image
image

[optional] Are there any post-deployment tasks we need to perform?

No

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Dec 22, 2024
@meteyou meteyou self-requested a review December 31, 2024 15:58
@meteyou
Copy link
Member

meteyou commented Dec 31, 2024

@Jomik can you pls post a working moonraker config for this feature?

@Jomik
Copy link
Author

Jomik commented Jan 1, 2025

@meteyou I have updated the description with a configuration section and the commands needed.
Do note mainsail-crew/virtual-klipper-printer#41 if you try to test it in the virtual printer.

But you can probably also just adjust the configuration to create its own venv and install into that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants