A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ali5h/zig-py-sample below:

ali5h/zig-py-sample: sample python extension in zig

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up 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 ali5h/zig-py-sample Repository files navigation Sample Python Extension in Zig

This is tested on Ubuntu with python3.8 installed.

# build the extension
$ zig build
# run zig tests
$ zig build test
# run python tests
$ pytest
logical division of the code

python3.8.zig is generated by running

$ zig translate-c /usr/include/python3.8/Python.h -I/usr/include/python3.8 -I /usr/include -I /usr/include/x86_64-linux-gnu/ -D__sched_priority=0 -DNDEBUG > src/python3.8.zig
About

sample python extension in zig

Topics Resources Stars Watchers Forks

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4