A python wrapper for FMR
Project description
pyfmr: a python wrapper for FMR
how to build
The cross compiling is done by xgo.
Prerequisites
- Docker
- Golang
Steps
# 1. clone the git repo
git clone https://github.com/liuzl/pyfmr && cd pyfmr
# 2. pull xgo docker image
docker pull karalabe/xgo-latest
# 3. install xgo
go get github.com/karalabe/xgo
# 4. build shared libraries
xgo --targets=*/amd64 -buildmode=c-shared -out pyfmr/lib/fmr github.com/liuzl/pyfmr/src
# 5. build wheel
python3 setup.py sdist bdist_wheel
# 6. upload to pypi.org
python3 -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyfmr-0.0.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
pyfmr-0.0.1-py3-none-any.whl
(16.6 MB
view hashes)