QTPY-GET-DEPENDENCIES(1)
π QTPY-GET-DEPENDENCIES π
the qtpy-get-dependencies girlies know π
β okay so this is a User Commands page from the Debian manual, and bestie, it's about figuring out which Debian packages your QtPy-using thing actually needs. Let's get into it β¨
πΈ NAME πΈ
qtpy-get-dependencies β get Debian package dependencies for qtpy modules π«Ά
β¨ SYNOPSIS β¨
qtpy-get-dependencies [-h] [--pyqt5 | --pyqt6 | --pyside6] [--version]
module [module ...]
List Debian package dependencies for a set of QtPy modules
π¦ DESCRIPTION π¦
okay so here's the tea β β any package that uses qtpy needs a Python Qt library sitting behind it, like, it literally cannot function without one. That's the whole vibe.
This script takes a list of QtPy modules (and yes, you can get that list by, for example, searching a package's source files for the string "from qtpy import" β that's the move π), and it hands you back a list of Debian packages that your package needs. And not just any list β it's ready to be dropped straight into the binary Depends field of the package's debian/control file. Slay. No cap. π
If you wanna know how qtpy decides which backend to use (the drama of it all), go read the file /usr/share/doc/python3-qtpy/README.Debian β it's got the full story π
π OPTIONS π
-h,--helpβ shows this help message and then dips out. exit, stage left πͺβ¨--pyqt5β gives you the PyQt5 dependencies. This one's the default, iykyk π--pyqt6β gives you the PyQt6 dependencies π--pyside6β gives you the PySide 6 dependencies π§--versionβ shows the program's version number and exits. cute little flex πmoduleβ Name of qtpy module imported (with or without leadingqtpy.) πΈ
π heads up bestie: that last one isn't optional-optional β it's a positional argument and the synopsis says module [module ...], so you can pass one or a whole squad of them. Not me forgetting to pass any and getting yelled at π
okay that's the whole page!! go forth and declare your dependencies, main character π
mwah π this lil manual page is brought to you by Debian, dated December 2024 β version vibes and source realness included, periodt β¨π«Ά
π¦ where this page comes from
- debian trixie: python3-qtpy 2.4.3-1 Β· MIT
- ubuntu resolute: python3-qtpy 2.4.3-1 Β· MIT
- ubuntu stonking: python3-qtpy 2.4.3-5 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms