Creating a package for a program that uses Gtk #9529
Unanswered
jeffbarish
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I used a virtual environment when developing my application, so all packages that I installed using pip are installed in venv. However, Gtk and Gstreamer were already installed in the system location (and there might be a few other packages there as well), so I told venv to include-system-site-packages. What is the correct way to deal with these external dependencies when creating a package with poetry?
Was I supposed to have duplicated the installation of Gtk and Gstreamer in the virtual environment? I do not know how I would have done that as they get installed using apt.
Is there a way to tell poetry to ignore dependencies on packages in the system location under the assumption that users would have these dependencies already installed in their system location?
Does PyPI even allow packages that use Gtk?
GObject is written in C, so if I have this right it is essentially an extension module, which requires that the package be a wheel. Will I be specifying the target architecture for compiled C code, or does the wheel compile source code?
Beta Was this translation helpful? Give feedback.
All reactions