Skip to content

minor fix env

minor fix env #6

Workflow file for this run

name: Nuitka Build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest # or any other OS you prefer
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.10' # Specify your Python version
- name: Set up Miniconda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.10 # Specify the Python version
environment-file: env.yml # If you have an environment file
activate-environment: beamshapy-gui # Name of the environment to activate
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install nuitka # Install Nuitka
# Add any other dependencies your project needs
- name: Compile with Nuitka
run: python -m nuitka main.py --show-progress --onefile --debug --enable-plugin=pyqt5 --include-data-file=./logo_beam_shaper.png=./icon/logo_beam_shaper.png
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with:
name: Compiled-App
path: your_script.dist/your_script # Adjust the path to the compiled binary