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

Remove early initialization (Fix #563) #568

Merged
merged 2 commits into from
Dec 16, 2022
Merged

Remove early initialization (Fix #563) #568

merged 2 commits into from
Dec 16, 2022

Conversation

Avasam
Copy link
Contributor

@Avasam Avasam commented Sep 15, 2022

Don't initialize the keyboard by simply importing the module. This is often too soon. And runs when installing (because setup.py imports keyboard).

The keyboards are initialized later anyway through start_if_necessary

Fixes #563

Avasam added a commit to Avasam/AutoSplit that referenced this pull request Sep 15, 2022
@Avasam Avasam changed the title Fix #563 Remove early initialization (Fix #563) Sep 15, 2022
@boppreh boppreh merged commit 115524f into boppreh:master Dec 16, 2022
@boppreh
Copy link
Owner

boppreh commented Dec 16, 2022

I don't think skipping an import error is ideal, but it definitely fixes this important error. Thanks for the contribution!

@Avasam Avasam deleted the fix-563 branch December 16, 2022 07:03
@Avasam
Copy link
Contributor Author

Avasam commented Dec 16, 2022

I don't think skipping an import error is ideal, but it definitely fixes this important error. Thanks for the contribution!

Agreed the macos Quartz import fix is a bandaid fix. Imo setup.py should maybe not import from keyboard?

@Avasam Avasam restored the fix-563 branch December 16, 2022 07:08
@Avasam Avasam deleted the fix-563 branch January 20, 2023 00:13
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.

dumpkeys tries to run during pip install on linux
2 participants