Score:0

How to package rpm with vitualenv?

ng flag

We are creating an rpm file with fpm As part of our product, when I check the existing project code, old developer using fpm to package the product and also set python3 as dependency. So whenever the product rpm installs, it installs python3 from yum repo first and then in the postlaunch script it is set to install pipx module and then create a virtulenv from the installed python and installing the application dependent python modules.

Is there anyway to skip the python installation part and embed the virtualenv inside the rpm? So that, without depending on os installed python version, we can keep the application python separately.?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.