pipoe | Generate python bitbake recipes

 by   NFJones Python Version: 2019.11 License: MIT

kandi X-RAY | pipoe Summary

kandi X-RAY | pipoe Summary

pipoe is a Python library. pipoe has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install pipoe' or download it from GitHub, PyPI.

The objective of this project is to make creating OpenEmbedded python recipes just a bit easier. pipoe will take either a single package name or a requirements file and recursively generate bitbake recipes for every pypi package listed. It is not guaranteed that it will work for every package. Additionally, many recipes will still require additional modification after generation (patches, overrides, appends, etc.). In those cases it is recommended that the user add these modifications in a bbappend file.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pipoe has a low active ecosystem.
              It has 9 star(s) with 16 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 2 have been closed. On average issues are closed in 18 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pipoe is 2019.11

            kandi-Quality Quality

              pipoe has 0 bugs and 18 code smells.

            kandi-Security Security

              pipoe has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pipoe code analysis shows 0 unresolved vulnerabilities.
              There are 3 security hotspots that need review.

            kandi-License License

              pipoe is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pipoe releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 785 lines of code, 21 functions and 4 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pipoe and discovered the below as its top functions. This is intended to give you an instant insight into pipoe implemented functionality, and help decide if they suit your requirements.
            • Get package information
            • Get package file info
            • Fetch the requirements from a remote package
            • Gather build dependencies
            • Determine the version of a version
            • Return a list of dependencies
            • Translate a license name
            • Unpack a package
            • Determine the extra part of a query
            • Get file extension
            • Compute md5sum of a file
            • Calculate the sha256 hash of a file
            • Parse a requirements_dist string
            • Parse requirements file
            • Recursively generates Pip files
            • Generate a recipe for a given package
            • Write preferred versions
            Get all kandi verified functions for this library.

            pipoe Key Features

            No Key Features are available at this moment for pipoe.

            pipoe Examples and Code Snippets

            pipoe,Example
            Pythondot img1Lines of Code : 40dot img1License : Permissive (MIT)
            copy iconCopy
            > pipoe --help
            usage: pipoe [-h] [--package PACKAGE] [--version VERSION]
                         [--requirements REQUIREMENTS] [--extras] [--outdir OUTDIR]
                         [--python {python,python3}] [--licenses]
                         [--default-license DEFAULT_LICENSE]  
            pipoe,Install
            Pythondot img2Lines of Code : 1dot img2License : Permissive (MIT)
            copy iconCopy
            > pip3 install pipoe
              

            Community Discussions

            QUESTION

            How to add non-native Python module in Yocto BSP with recipes proper way
            Asked 2022-Mar-25 at 00:37

            I've found nice project https://github.com/NFJones/pipoe Also made with it few recipes to download Python3 modules from PyPi and try to include them in my custom image. Put all the recipes in ../sources/meta-custom/recpies-devtools/python Single recipe looks like python3-gpsd-py3_0.3.0.bb

            ...

            ANSWER

            Answered 2021-Aug-16 at 10:25

            Found it after dig - your own recipes should be put in ../sources/meta-openembedded/meta-python/recipes-devtools/python

            Source https://stackoverflow.com/questions/68801004

            QUESTION

            Yocto recipe for pydantic module
            Asked 2021-Sep-03 at 10:34

            I try to include python modul pydantic from pypi.org with next recipe (generated auto by https://github.com/NFJones/pipoe ) in Yocto 2.6 Thud

            ...

            ANSWER

            Answered 2021-Sep-03 at 10:34

            The python3 recipe in Yocto 2.6 Thud, is version Python 3.5.6.

            However, pydantic PyPI package uses Python f-strings in its setup.py, which is syntax introduced in Python 3.6. Therefore, the recipe fails to build because Yocto's Python 3.5 does not recognise that syntax, hence the SyntaxError from the Python interpreter trying to run setup.py.

            The pydantic install guide says:

            pydantic has no required dependencies except python 3.6, 3.7, 3.8, or 3.9, typing-extensions, and the dataclasses backport package for python 3.6. If you've got python 3.6+ and pip installed, you're good to go.

            To build this package within Yocto, you'll need a release that includes a newer version of Python 3 - which is typically updated in Yocto's minor point releases. See below:

            Yocto Release Version of python3 recipe thud (2.6) 3.5.6 (source), not supported by pydantic warrior (2.7) 3.7.7 (source) zeus (3.0) 3.7.8 (source) dunfell (3.1) 3.8.11 gatesgarth (3.2) 3.8.5 hardknott (3.3) 3.9.5

            Source https://stackoverflow.com/questions/69042113

            QUESTION

            Yocto recipe pyinstaller
            Asked 2021-Aug-24 at 18:47

            I'm trying to build pyinstaller recipe, I used pipoe here , but I got this error while i Told it to inherit pypi setuptools. Can anyone help please? THank you .

            ERROR: ParseError at /home/yasmine/yocto/poky/meta-pyinst/recipes-pyinstaller/pyinstaller/python-altgraph_0.17.bb:16: Could not inherit file classes/setuptools.bbclass

            ...

            ANSWER

            Answered 2021-Aug-24 at 18:47

            First, it is good practice to use pipoe to create python recipes automatically.

            Check my response here on how to use it.

            I used it to create pyinstaller recipe, it detected that pyinstaller depends, in run time RDEPENDS, on:

            • python3-altgraph
            • python3-pyinstaller-hooks-contrib

            So, here are the recipes:

            python3-pyinstaller_4.5.1.bb

            Source https://stackoverflow.com/questions/68881356

            QUESTION

            Include python-dropbox in Yocto
            Asked 2020-Jul-25 at 13:11

            My Python application uses Dropbox and I need to include this library in my Yocto image. I managed to generate a recipe for it with pipoe (pipoe -p dropbox). Here it is:

            ...

            ANSWER

            Answered 2020-Jul-25 at 13:11

            Probably an issue with inconsistent Python version.

            You inherit setuptools which is for python2. The RDEPENDS are for python2 dependencies. But you add python3-pytest-runner-native in DEPENDS.

            I'd suggest finding out which python version to use for this software and use the same for all RDEPENDS, inherited classes (setuptools3 for python3), and DEPENDS.

            Source https://stackoverflow.com/questions/63064250

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install pipoe

            You can install using 'pip install pipoe' or download it from GitHub, PyPI.
            You can use pipoe like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install pipoe

          • CLONE
          • HTTPS

            https://github.com/NFJones/pipoe.git

          • CLI

            gh repo clone NFJones/pipoe

          • sshUrl

            git@github.com:NFJones/pipoe.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link