Re: Python import error for PyInit_wpaspy

Jared Bents <[email protected]>
Newsgroups gmane.linux.drivers.hostap
Message-ID <CAM=7fbfBT=gh95P_QDkBecuNdpzoMgaDnNgPeBzsDcV8XErY0Q@mail.gmail.com>
Hi Jouni,

On Wed, Apr 1, 2020 at 5:47 AM Jouni Malinen <[email protected]> wrote:
>
> On Tue, Mar 31, 2020 at 04:22:01PM -0500, Jared Bents wrote:
> > I'm attempting to cross compile wpaspy with Buildroot
>
> Do you have a specific reason for using the wpaspy.c version instead of
> the native wpaspy.py?

No specific reason, I did not know it was an option to use just the
wpaspy.py instead of including the wpaspy.c. I was attempting to use
wpaspy.c because that is what the setup.py in the 2.9 tag on hostap is
using. So I will change my focus to having the wpaspy.py get included
instead of the build of wpaspy.c

>
> > Has anyone had success cross compiling wpaspy with python 3 support? I
> > had run into a couple prior problems when using python 3 but sorted
> > those out and once I get everything working, I plan on upstreaming
> > them. I've included the diffs below for reference.
>
> I have not use wpaspy.c in years since the native implementation in
> wpaspy.py covers all the functionality that I've needed. wpaspy.c has
> not been modified in seven years and unless there is a specific need for
> it, the most practical upstream change might be to simply delete that
> older implementation and leave the maintained wpaspy.py version as the
> only option.
>
> --
> Jouni Malinen                                            PGP id EFC895FA

Thank you,
Jared
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.