Provide compiled binaries of https://github.com/cea-sec/hairgap
Project description
hairgap-binaries
Provide compiled binaries of hairgap under the form of a Python package.
building
requirements:
- python3 (>= 3.5),
- wheel (in the current virtualenv),
- vagrant with the scp plugin.
# install the scp plugin
vagrant plugin install vagrant-scp
# compile binaries in a Vagrant box
vagrant up centos_8
vagrant scp centos_8:/tmp/hairgap/hairgaps hairgap_binaries/manylinux2014_x86_64-hairgaps
vagrant scp centos_8:/tmp/hairgap/hairgapr hairgap_binaries/manylinux2014_x86_64-hairgapr
vagrant destroy centos_8 --force
# check these binaries on a Debian 9 / CentOS 7 / Xenial / Bionic / Focal
for k in centos_7 debian_9 ubuntu_xenial ubuntu_bionic ubuntu_focal; do
vagrant up $k > /dev/null 2> /dev/null && \
vagrant scp hairgap_binaries/manylinux2014_x86_64-hairgaps $k:/tmp/hairgaps > /dev/null 2> /dev/null && \
vagrant scp hairgap_binaries/manylinux2014_x86_64-hairgapr $k:/tmp/hairgapr > /dev/null 2> /dev/null && \
vagrant ssh $k -c "/tmp/hairgaps -h" 2> /dev/null | grep sender > /dev/null && echo "$k : hairgaps valid" && \
vagrant ssh $k -c "/tmp/hairgapr -h" 2> /dev/null | grep receiver > /dev/null && echo "$k : hairgapr valid" && \
vagrant destroy --force $k > /dev/null 2> /dev/null
done
# generate Python packages
python3 setup.py sdist
python3 setup.py bdist_wheel -p manylinux2014_x86_64
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
hairgap_binaries-1.0.0.tar.gz
(104.6 kB
view hashes)
Built Distribution
Close
Hashes for hairgap_binaries-1.0.0-py3-none-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8c6e4de72213460b87e39f7cd26963ea2d4e9a7ca485fc213ea55254bf84f6 |
|
MD5 | d67555550a96fcffd287af867e342dde |
|
BLAKE2b-256 | f5c8695bd2850206100edb6dd63e105952784f830fed8d24ebc14e62f208fdc4 |