You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't use pynng-0.5.0 because this mbedtls connection is very slow, and this problem cannot be solved.
Is mbedtls available from local?
For example: At 'setup.py'
Hi @xmyeen, thanks for opening an issue. Sorry I haven't gotten back to you sooner; I was in the middle of a move/house renovations (which are ongoing 😬)
I do think your issue is important, because it is a pain, and terribly inefficient, to re-download the library if you don't need to.
On the one hand I want to enable people to customize the build etc., and on the other hand I don't want to make the build process super complicated for anyone. I think some sort of wholistic, well-thought out changes may be in order. There are a few levels of customizations that may be desired:
Specify a local repository for NNG and mbedTLS (this issue)
Specify a pre-built nng lib and mbedTLS lib. (These will need to be static libraries, for now at least). Then the user could build the libraries with whatever customizations are required.
Possibly specify a shared library to link with at runtime, instead of at build time. This would make pynng play nicer, and possibly even be able to get into Linux distro package managers without making the package maintainers sick (from what I understand, package maintainers dislike vendored dependencies like pynng does, for many good reasons.)
I'm undecided whether it's better to have environment variables that the setup script looks at, or pass options to the setup script. Any thoughts?
I can't use pynng-0.5.0 because this mbedtls connection is very slow, and this problem cannot be solved.
Is mbedtls available from local?
For example:
At 'setup.py'
Now, I can clone from local by defining environment variables.
Thanks.
The text was updated successfully, but these errors were encountered: