Skip to main content

Examples for https://github.com/asottile/setuptools-golang

Project description

Build Status Azure DevOps coverage pre-commit.ci status

setuptools-golang-examples

A few examples utilizing setuptools-golang.

c_module

  • Demonstrates that you can mix go extensions with c extensions seamlessly.

go_sum

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.

Files for setuptools-golang-examples, version 2.2.0
Filename, size File type Python version Upload date Hashes
Filename, size setuptools_golang_examples-2.2.0-cp36-abi3-macosx_10_14_x86_64.whl (1.8 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size setuptools_golang_examples-2.2.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (1.8 MB) File type Wheel Python version cp36 Upload date Hashes View
Filename, size setuptools_golang_examples-2.2.0-cp38-abi3-macosx_12_0_arm64.whl (1.7 MB) File type Wheel Python version cp38 Upload date Hashes View
Filename, size setuptools_golang_examples-2.2.0.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page