18 Commits

Author SHA1 Message Date
1aa1d55954 Mac try again 2024-08-23 21:33:41 -05:00
1b2f005ab9 Try updated main.spec for macOS 2024-08-23 21:19:07 -05:00
78131df096 First ARM macOS test 2024-08-23 21:02:35 -05:00
69e377835e Fix generated executable name on Windows 2024-08-23 20:37:30 -05:00
14bbff48da Try to label generated executables with version number 2024-08-23 20:31:31 -05:00
75cd12803f Try to rename executables 2024-08-23 20:18:29 -05:00
ad5d132589 try again with all of them 2024-08-23 20:08:57 -05:00
5d124ae378 trying again 2024-08-23 20:07:17 -05:00
21ad9c7e7e Update pyinstaller.yml 2024-08-23 20:03:15 -05:00
9fb7fae567 Update pyinstaller.yml 2024-08-23 20:00:49 -05:00
a50dc3ab32 Rename create-executables.yml to pyinstaller.yml 2024-08-23 19:59:22 -05:00
dea7574888 Rename create_executables.yml to create-executables.yml 2024-08-23 19:52:41 -05:00
a19db9fcf7 Fix issue with create_executables.yml 2024-08-23 19:51:56 -05:00
80b0adb2ad Create executables for all platforms, not just Windows 2024-08-23 19:46:35 -05:00
18873cec6f Only generate Windows binaries when releases are created 2024-08-23 19:37:34 -05:00
af6d6e1525 Document all the things! (#117)
Add lots of docstrings everywhere
2024-08-23 19:26:05 -05:00
8bbf19cb30 Fix accidental readme rename 2024-08-23 19:17:03 -05:00
6bdb488ce1 Add "Create Executable" GitHub action for Windows (#116) 2024-08-23 18:36:14 -05:00
5 changed files with 79 additions and 25 deletions

View File

@@ -0,0 +1,67 @@
name: Create Executables
on:
workflow_dispatch:
release:
types:
- created
push:
branches:
- github-actions
jobs:
# pyinstaller-build-windows:
# runs-on: windows-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Extract Version
# id: get_version
# run: |
# $version = python -c "from version import APP_VERSION; print(APP_VERSION)"
# echo "VERSION=$version" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8
# - name: Create Executable (Windows-x64)
# uses: sayyid5416/pyinstaller@v1
# with:
# python_ver: '3.11'
# python_arch: 'x64'
# spec: 'main.spec'
# requirements: 'requirements.txt'
# upload_exe_with_name: 'Zordon-${{env.VERSION}}-Windows-x64'
# pyinstaller-build-linux:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Extract Version
# id: get_version
# run: |
# version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)')
# echo "VERSION=$version" >> $GITHUB_ENV
# - name: Create Executable (Linux-x64)
# uses: sayyid5416/pyinstaller@v1
# with:
# python_ver: '3.11'
# python_arch: 'x64'
# spec: 'main.spec'
# requirements: 'requirements.txt'
# upload_exe_with_name: 'Zordon-${{env.VERSION}}-Linux-x64'
pyinstaller-build-macos:
runs-on: macos-latest
steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Extract Version
# id: get_version
# run: |
# version=$(python -c 'from version import APP_VERSION; print(APP_VERSION)')
# echo "VERSION=$version" >> $GITHUB_ENV
- name: Create Executable (macOS-arm64)
uses: sayyid5416/pyinstaller@v1
with:
python_ver: '3.11'
python_arch: 'arm64'
spec: 'main.spec'
requirements: 'requirements.txt'
upload_exe_with_name: 'Zordon-testing-macOS-arm64'
options: --onefile

View File

@@ -1,23 +0,0 @@
name: Pylint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py')

View File

@@ -2,6 +2,8 @@
A tool designed for small render farms, such as those used in home studios or small businesses, to efficiently manage and run render jobs for Blender, FFMPEG, and other video renderers. It simplifies the process of distributing rendering tasks across multiple available machines, optimizing the rendering workflow for artists, animators, and video professionals. A tool designed for small render farms, such as those used in home studios or small businesses, to efficiently manage and run render jobs for Blender, FFMPEG, and other video renderers. It simplifies the process of distributing rendering tasks across multiple available machines, optimizing the rendering workflow for artists, animators, and video professionals.
Notice: This should be considered a beta and is meant for casual / hobbiest use. Do not use in mission critical environments!
## Supported Renderers ## Supported Renderers
Zordon supports or plans to support the following renderers: Zordon supports or plans to support the following renderers:

View File

@@ -49,10 +49,17 @@ if platform.system() == 'Darwin': # macOS
codesign_identity=None, codesign_identity=None,
entitlements_file=None, entitlements_file=None,
) )
app = BUNDLE( coll = COLLECT(
exe, exe,
a.binaries, a.binaries,
a.datas, a.datas,
strip=False,
upx=True,
upx_exclude=[],
name='server',
)
app = BUNDLE(
coll,
strip=True, strip=True,
name=f'{APP_NAME}.app', name=f'{APP_NAME}.app',
icon=None, icon=None,

View File

@@ -34,4 +34,5 @@ kiwisolver>=1.4.5
attrs>=23.2.0 attrs>=23.2.0
lxml>=5.1.0 lxml>=5.1.0
click>=8.1.7 click>=8.1.7
requests_toolbelt>=1.0.0 requests_toolbelt>=1.0.0
pyinstaller_versionfile>=2.1.1