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
File details
Details for the file setuptools_golang_examples-2.1.0.tar.gz
.
File metadata
- Download URL: setuptools_golang_examples-2.1.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4691dd0de4e345e2a2e70bc09f20c1acb862f8557958a45f3e3c8cfcf29466b1 |
|
MD5 | 24773fc73b6601afd471f13da9cb90f1 |
|
BLAKE2b-256 | 53bfa61b0252f8ccbba3ba371ddf2b130e2a1a32a2934b9b0add3048cfbd4fdb |
Provenance
File details
Details for the file setuptools_golang_examples-2.1.0-cp36-abi3-manylinux1_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-2.1.0-cp36-abi3-manylinux1_x86_64.whl
- Upload date:
- Size: 3.4 MB
- Tags: CPython 3.6+
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e88ff5992b1291c59ef5364ab3e5888cdb097175e9e7c96e9c7195a0af8c3a7 |
|
MD5 | 4a2dd14faed89b7ba414596824b44d55 |
|
BLAKE2b-256 | 2032ac371bab7e7073ff3672b007f4946648eeb2a0eb0ab3c83eb0bdc2f1b93b |
Provenance
File details
Details for the file setuptools_golang_examples-2.1.0-cp36-abi3-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: setuptools_golang_examples-2.1.0-cp36-abi3-macosx_10_14_x86_64.whl
- Upload date:
- Size: 3.6 MB
- Tags: CPython 3.6+, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3661f38e9837f7a9b76e4a9285b9d424571ab1301e25f8084b4f8e8b0db40037 |
|
MD5 | 38bfc6ce56b3ad87ba19c1e59b277aa7 |
|
BLAKE2b-256 | b0c24f215ece37a55332d59a3c9ee4e86becc32c497726ab12422dfe79d453ba |