QTPY-GET-DEPENDENCIES(1)

πŸ“¦ version 2.4.3, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ‘‘ 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 leading qtpy.) 🌸

πŸ’€ 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