https://github.com/robert197/test-pip-with-go
https://github.com/robert197/test-pip-with-go
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/robert197/test-pip-with-go
- Owner: robert197
- License: other
- Created: 2023-09-19T08:32:35.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-09-19T08:56:59.000Z (over 2 years ago)
- Last Synced: 2025-02-04T04:43:53.977Z (over 1 year ago)
- Language: Python
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Test Pip Install with Go
This is a simple project demonstrating how to package a Go binary along with a Python wrapper and make it installable using pip.
## Getting Started
1. **Go Binary**
The Go binary in this project prints "Hello from Go!".
2. **Python Wrapper**
The Python wrapper script (`wrapper.py`) executes the Go binary and prints its output.
3. **Tests**
The python file (`wrapper_test.py`) executes one tests to test the output of the golang binary.
## Installation
You can install this package using pip (https://pypi.org/project/go-pkg/):
```bash
pip install go-pkg
```