Score:0

Package pre-installed Python module for PyPi PIP

ps flag

I built a python package from the following repository on Ubuntu v.18. The real target for this was OpenWrt however OpenWrt only supports GCC 7.4 and the build file has commands which are only available in GCC 8+, so I couldn't build it on OpenWrt itself and did it on Ubuntu. So, I think the easiest way would be to package the library I built on Ubuntu for PIP and upload it to PyPi to make it OS independent. How can this be done? Or is there a better way?

https://github.com/BPI-SINOVOIP/RPi.GPIO

The library I build is installed in: /usr/local/lib/python3.8/dist-packages/RPi/*

Essentially, the goal is to "port" this library I built on Ubuntu to OpenWrt using PIP as an intermediary.

guiverc avatar
cn flag
The only release you mention is 18, which implies a *snap* only release such as Ubuntu Core 18. If your intention is *snap* only release, all dependencies are included in the *snap* package (or built into *dependent* snaps) so I don't see your issue. You mention a specific build path, don't forget *snap* releases like Ubuntu Core 18 run everything containerized so don't see the host OS file-system anyway (with some exceptions; eg. if running in *classic* confinement).
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.