Examples for https://github.com/asottile/setuptools-golang
Project description
setuptools-golang-examples
A few examples utilizing setuptools-golang.
c_module
- Demonstrates that you can mix go extensions with c extensions seamlessly.
go_sum
- A very basic hello-world-y demo
- This example is roughly lifted from @FiloSottile's blog post
hello_lib
- This module demonstrates importing go code within the project.
red
- This module demonstrates importing external code (in this case ansi)
sum_pure_go
- This module demonstrates it is possible to write an extension using only go files.
- It's slightly cheaty in that one of the go files is entirely a C header.
- You could instead do something similar to this example but it's much more difficult to support multiple versions of python.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Close
Hashes for setuptools_golang_examples-2.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fdf9d084d2dc969c03eebc70ee942d7a107041acc363556116502b47a203364 |
|
MD5 | ac035329fccbecaa133709ca1151852c |
|
BLAKE2b-256 | 0d8dc7ff9e6f3c60c2d4efb30dcc7074cf29a3938daf33cb4d83bf1ca4dbcec9 |
Close
Hashes for setuptools_golang_examples-2.2.0-cp38-abi3-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984994e22e8b3686a687ca9e35595eb125dcd7038a32b62cbe87af13325cd6c2 |
|
MD5 | 7bf76985c048c4f766bde5eba58b683b |
|
BLAKE2b-256 | be0b60f71f29cf6f116f6e2f1705946dda98c7160c5d126208a5338be0f789c9 |
Close
Hashes for setuptools_golang_examples-2.2.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbc901897d908e3c1b62207856979b5094103a9b2582c45f902585c5b53c80a2 |
|
MD5 | 1e215ceb9e38c24d9c339e9531bcdb83 |
|
BLAKE2b-256 | 8aba9b0e53f5c5d0ee89e3ef07a1e845c48577b7ecad78049837eba463bc2162 |
Close
Hashes for setuptools_golang_examples-2.2.0-cp36-abi3-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13cde35291344c145a61dc0658a3eb2bdda310f1c8d094adf1556764876d89be |
|
MD5 | 7bb2b790921e172d11510865b98d7da4 |
|
BLAKE2b-256 | 25916a60aa77ec81a7a619dc42859faecb31207476d6b1d796c409a7c115c626 |