1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-01 16:11:18 +03:00
EDMarketConnector/requirements.txt
Athanasius 2c469441e0
monitor: Just use the pywin32 win32gui.GetWindowText(), it works
After over an hour's struggle trying to get the win32/user32
`GetWindowTextW()` prototyped properly, and running into problem after problem:

    1. Once you properly prototype this, including defining the 2nd `lpString`
      parameter as 'out', ctypes wants to just *return* that.
    2. This leads to then implementing a `.errcheck` property so that you
      can *also* check the INT result for errors.
    3. But then you just run into another error.

I finally found <https://stackoverflow.com/a/10905155> which pointed out
you can simply use `win32gui.GetWindowText()` from `pywin32`.  Tested, it
simply works, no errors/exceptions.
2023-01-12 17:35:01 +00:00

15 lines
394 B
Plaintext

certifi==2022.12.7
requests==2.28.1
watchdog==2.2.1
# Commented out because this doesn't package well with py2exe
infi.systray==0.1.12; sys_platform == 'win32'
# argh==0.26.2 watchdog dep
# pyyaml==5.3.1 watchdog dep
semantic-version==2.10.0
# Used both by some tests *and* now in monitor.py
pywin32==305; sys_platform == 'win32'
# Base requirement for MacOS
pyobjc; sys_platform == 'darwin'