Allow bdist_wheel working without ctypes by youknowone · Pull Request #613 · pypa/wheel (original) (raw)
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation9 Commits5 Checks16 Files changed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Hi, I am a developer of RustPython project.
Currently RustPython barely can run pip, but installing projects usually fails due to lack of ctypes - which is mostly not mandatory.
This patch makes ctypes optional in most of platforms and situations.
Codecov Report
All modified and coverable lines are covered by tests ✅
Project coverage is 71.09%. Comparing base (4ec2ae3) to head (9de24bd).
Additional details and impacted files
@@ Coverage Diff @@ ## main #613 +/- ##
Coverage 71.09% 71.09%
Files 13 13
Lines 1083 1083
Hits 770 770
Misses 313 313
☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
Co-authored-by: Alex Grönholm alex.gronholm@nextday.fi
Can rustpython use pip to download libraries that rely on C extensions?
I encountered the error"ModuleNotFoundError: No module named '_ctypes'
when downloading some libraries that rely on C extensions. For example, download: ujson, markupsafe.
but, those libraries written by pure cpython I can download normally.