Might build_ext.py support pypi version of swig? #4544
Replies: 2 comments 5 replies
-
If If that is so, then I don't think there is much else to do. If not, then it would be interesting to discuss with the |
Beta Was this translation helpful? Give feedback.
5 replies
-
Hello, just FYI that we have co-worked with pylibfdt owners to enhance the package, now we do not need to manually install swig, now the single line command "pip install pylibfdt" is good enough. Thanks for your support and clarification. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm new to this, but looks like currently build_ext.py only support either swig.exe or swig linux-style app, but with "pip install swig", we should be able to "import swig" and call "swig._program("swig", argv)" regardless windows or linux. Could we support it?
current model:
. "apt install swig (linux)" or "download swig.zip-> unzip-> add-to-path (windows)"
. pip install pylibfdt (will fail without swig)
desired new model with pypi swig support:
. pip install swig (both linux and windows)
. pip install pylibfdt
If I misunderstood something please help to correct me. Or if you have any other idea which can simplify the process please help to share too.
Thanks,
Chasel
Relevant code:
https://github.com/pypa/setuptools/blob/main/setuptools/_distutils/command/build_ext.py#L633
Beta Was this translation helpful? Give feedback.
All reactions