- Create sample with pywinauto
- Install uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
- Install Visual Studio Code with "Desktop development with C++" component
- In Windows > System > For developers, enable developer mode.
- In VS Code, install Flutter extension. Put the Flutter SDK in
C:\dev
or something - Install Tesseract OCR for Windows (download)
uv venv
thensource .venv/Scripts/activate
uv pip install -r requirements.txt
Ctrl + Shift + P
and select Ptyhon: Select Interpreter
so that Visual Studio can see packages.
uv venv
# Activate the environment
source .venv/Scripts/activate
# Install something
uv pip install flet
uv pip install pytesseract
# Run a flet application
flet run ./revit-assist/counter.py
# Building a flet windows application
cd src
flet build windows -o ../build --module-name counter