Giter VIP home page Giter VIP logo

pyinstaller-manylinux's Introduction

Test Build

pyinstaller-manylinux-2.28

PyInstaller ManyLinux 2.28 Docker Action based on AlmaLinux 8.7 (Stone Smilodon)"

This action run PyInstaller using docker image from pypa/manylinux repository

Inputs

pyinstaller-params

Required List of parameters for pyinstaller

Example usage

uses: oleksis/[email protected]
with:
  pyinstaller-params: "['-c', '-F', '--icon=assets/image.ico', '--exclude-module=test', '--name=app-binary', 'app_module/__main__.py']"

See more in test.yml

How to use the Dockerfile

  • Build the image pyinstaller-manylinux-2.28
docker build -t pyinstaller-manylinux-2.28 -f ./Dockerfile .
  • Create bundle app using pyinstaller in the docker image
docker run --name pyinstaller-manylinux-2.28 \
            -it -d \
            --workdir /src \
            -v $(pwd):/src \
            pyinstaller-manylinux-2.28 \
            -c -F --name=app tests/app.py
  • View the logs in the docker container
docker logs --tail 1000 -f pyinstaller-manylinux-2.28
  • New container with interactive terminal typing using bash
docker run --name pyinstaller-pyenv \
            -it \
            --entrypoint bash \
            --workdir /src \
            -v $(pwd):/src \
            pyinstaller-manylinux-2.28
  • Start the new container using interactive bash
docker start -i pyinstaller-pyenv

[root@882bd364e3fe src]# pyenv versions
* 3.10.10 (set by /root/.pyenv/version)
  • Run the app in the local machine
./dist/app
Hello out there ๐Ÿ‘‹

How to use Github Container Registry

Github Packages

Notes

  1. This action can execute setup.sh if it exists in the repository, before installing the requirements (requirements.txt)
  2. Use pyenv in ManyLinux to have Python builded with --enable-shared. Some project we need add crypto binary library using PyInstaller --add-binary libcryt.so.2:.
cp /usr/local/lib/libcrypt.so.2 .

Releases

PyInstaller ManyLinux 2.28 Docker Action v2.3.0

PyInstaller ManyLinux 2.28 Docker Action v2.2.1

PyInstaller ManyLinux 2.24 Docker Action v2.1.2

PyInstaller ManyLinux 2014 Docker Action v1.0.0

pyinstaller-manylinux's People

Contributors

oleksis avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.