Skip to content

Fix import errors when PySerial is not installed#11

Open
mwerezak wants to merge 2 commits into
Xtralien:masterfrom
mwerezak:upstream
Open

Fix import errors when PySerial is not installed#11
mwerezak wants to merge 2 commits into
Xtralien:masterfrom
mwerezak:upstream

Conversation

@mwerezak

@mwerezak mwerezak commented May 14, 2025

Copy link
Copy Markdown
Contributor

The xtralien library does not work unless PySerial is installed, despite it being an "extra" in setup.py

This PR fixes the import problems so that the library will work without PySerial.

Also moved the imports module into prompt so that it's clearer what the purpose is.

Also added missing dependencies to setup.py. These are packages that need to be installed for the prompt to actually work without import errors.

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