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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4301c4afd2f86178e76822cbeabaa9af43022ff44cd80edb28f810028b7dbf91 |
|
MD5 | f03e02c28059975122ec2de9b39b552e |
|
BLAKE2b-256 | 27013ebf4c465bd8060e4274ef21ce8544855f2d48f6678a8399c948e6612e5d |
Close
Hashes for setuptools_golang_examples-2.0.0-cp36-abi3-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5740bceaedcaa6ec52a151e15ec48d3b13f512828cef6559ac356e3f0c263823 |
|
MD5 | 7a83a6b3a121d8e978fcb5885a543769 |
|
BLAKE2b-256 | 66fd5a755ebc5a03b0f82033208362bd02811acabcda27ee9b004171e8f6beea |
Close
Hashes for setuptools_golang_examples-2.0.0-cp36-abi3-macosx_10_14_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0320079346a98e26a06d989fe3cea4194bdaf4e22af72b80b2d7ea72deba4f9 |
|
MD5 | a8956e319f861fe0651eac725c100fd9 |
|
BLAKE2b-256 | 7095b77692b48da483331138469f5a7f7da0a156a767465c200fb271d1e18bf1 |