Skip to content

Calling pyanaconda directly from Python #3956

Answered by VladimirSlavik
korewaChino asked this question in Q&A
Discussion options

You must be logged in to vote

Hi! Sorry, that isn't entirely possible yet. In theory, Anaconda runs as a bunch of processes (modules) glued together by the D-Bus API. So you can have a different front-end in any language, just call the API. In practice, there are at least two reasons why that isn't true:

  • There is a "main process" that still does a lot of initialization and then starts the modules. You would have to duplicate that somehow.
  • The actual payload installation is also not entirely modularized yet. That means you would have to deal with something that is temporary.
  • The D-bus API does not have any good documentation. We are still stuck with the above, do not know what further changes need to happen, and do no…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jkonecny12
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants