diff --git a/requirements.txt b/requirements.txt index b18c115..4b57b68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,4 +5,5 @@ numpy Pillow>=10.0.0 pyperclip unidic_lite -pyinput \ No newline at end of file +pynput +msvcrt;platform_system=="Windows" \ No newline at end of file diff --git a/setup.py b/setup.py index 813bc6d..fd8eba5 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,9 @@ setup( "numpy", "Pillow>=10.0.0", "pyperclip", - "unidic_lite" + "unidic_lite", + "pynput", + 'msvcrt;platform_system=="Windows"' ], entry_points={ "console_scripts": [