All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sourabh Hegde <hrsourabh011@gmail.com>
To: Maxim Kochetkov <fido_max@inbox.ru>
Cc: Ramon Crichlow <rcrichlow9000@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] How to install custom sdk in buildroot?
Date: Thu, 9 Feb 2023 09:14:09 +0100	[thread overview]
Message-ID: <CADYjeSuBvHsij7YTnyq5tW9jEv1JtV3u1WyYkX2cbffgkQ6_Kw@mail.gmail.com> (raw)
In-Reply-To: <22e489f3-cc1d-985d-cca6-18f4f6ddecfa@inbox.ru>


[-- Attachment #1.1: Type: text/plain, Size: 2036 bytes --]

Hello Maxim,

Thanks for the explanation.

When I tried this : utils/scanpypi awscrt awsiotsdk -o package ,  I am
getting below error:

utils/scanpypi:21: DeprecationWarning: the imp module is deprecated in
favour of importlib; see the module's documentation for alternative uses
  import imp
Traceback (most recent call last):
  File "utils/scanpypi", line 23, in <module>
    import six.moves.urllib.request
ModuleNotFoundError: No module named 'six'

Any idea what this is about?

On Thu, 9 Feb 2023 at 06:35, Maxim Kochetkov <fido_max@inbox.ru> wrote:

>
>
> On 09.02.2023 00:28, Sourabh Hegde wrote:
> > Hello Maxim,
> >
> > Thanks for the update.
> >
> > I think for me, the option "18.9.3. Generating a python-package from a
> > PyPI repository"
> >
> https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_python_packages
> <
> https://buildroot.org/downloads/manual/manual.html#_infrastructure_for_python_packages> is
> suited.
> > I want to install this package https://pypi.org/project/awsiotsdk/
> > <https://pypi.org/project/awsiotsdk/>. And this package requires
> > https://pypi.org/project/awscrt/ <https://pypi.org/project/awscrt/> as
> > dependency. Should I create both Buildroot packages from python packages?
>
> Sure.
>
> > In the Buildroot manual, it's mentioned "Find the external python
> > modules menu and insert your package inside.", what should I insert
> > here? source code?
>
> The output from scanpypi util. "This will generate packages python-foo
> and python-bar in the package folder if they exist on
> https://pypi.python.org."
>
> "external python modules" is located at package/Config.in:
>
> ...
> if BR2_PACKAGE_PYTHON3
> menu "External python modules"
>         source "package/python-aenum/Config.in"
>         source "package/python-aexpect/Config.in"
> ...
>
> Try this sequence:
>
> utils/scanpypi awscrt awsiotsdk -o package
>
> then add
>         source "package/python-awscrt/Config.in"
>         source "package/python-awsiotsdk/Config.in"
> to the package/Config.in
>

[-- Attachment #1.2: Type: text/html, Size: 3435 bytes --]

[-- Attachment #2: Type: text/plain, Size: 150 bytes --]

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-02-09  8:14 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-08 16:07 [Buildroot] How to install custom sdk in buildroot? Sourabh Hegde
2023-02-08 16:14 ` Ramon Crichlow
2023-02-08 18:19   ` Sourabh Hegde
2023-02-08 20:07     ` Maxim Kochetkov via buildroot
2023-02-08 21:28       ` Sourabh Hegde
2023-02-09  5:35         ` Maxim Kochetkov via buildroot
2023-02-09  8:14           ` Sourabh Hegde [this message]
2023-02-09  8:58             ` Maxim Kochetkov via buildroot
2023-02-09  9:03               ` Sourabh Hegde
2023-02-09  9:10                 ` Maxim Kochetkov
2023-02-09  9:28                   ` Sourabh Hegde
2023-02-09 12:09                     ` Sourabh Hegde
2023-02-09 20:12                       ` James Hilliard
2023-02-14  7:27                         ` Sourabh Hegde
2023-02-14 20:55                           ` Arnout Vandecappelle
2023-02-14 21:22                             ` Sourabh Hegde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADYjeSuBvHsij7YTnyq5tW9jEv1JtV3u1WyYkX2cbffgkQ6_Kw@mail.gmail.com \
    --to=hrsourabh011@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=fido_max@inbox.ru \
    --cc=rcrichlow9000@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.