11 Commits

Author SHA1 Message Date
Brett Williams
193d74919f Reorganize server_proxy.py 2024-08-21 01:27:42 -05:00
Brett Williams
9951915bbe Reorganized render_queue.py 2024-08-21 01:12:12 -05:00
Brett Williams
eaa796221d More docstrings 2024-08-21 01:01:19 -05:00
Brett Williams
caecf07c06 More wip 2024-08-21 00:49:03 -05:00
Brett Williams
2617c0a357 Fix typo in variable name 2024-08-21 00:39:07 -05:00
Brett Williams
5534f0b1b2 Reorganize api_server.py 2024-08-21 00:35:19 -05:00
Brett Williams
06e7bb15d8 Add docstrings to base_downloader.py 2024-08-20 23:48:42 -05:00
Brett Williams
400a9e997b Rename methods and add docstrings to distributed_job_manager.py 2024-08-20 23:16:48 -05:00
Brett Williams
429d6bf0e9 Add docstrings to base_worker.py 2024-08-20 23:01:16 -05:00
Brett Williams
c917cd665c More docs for base_engine.py 2024-08-20 22:55:34 -05:00
Brett Williams
90478f256d Add docstrings to base_engine.py and base_worker.py 2024-08-20 22:19:48 -05:00
5 changed files with 25 additions and 79 deletions

View File

@@ -1,67 +0,0 @@
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

23
.github/workflows/pylint.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
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,8 +2,6 @@
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
Zordon supports or plans to support the following renderers:

View File

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

View File

@@ -35,4 +35,3 @@ attrs>=23.2.0
lxml>=5.1.0
click>=8.1.7
requests_toolbelt>=1.0.0
pyinstaller_versionfile>=2.1.1