Skip to content

Commit

Permalink
Release 2024.1
Browse files Browse the repository at this point in the history
  • Loading branch information
hjain-perforce committed Sep 23, 2024
1 parent 7830361 commit 01eb053
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
5 changes: 5 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6101,6 +6101,11 @@ docs/license.html_lib.



-----------------------------
Suspected Unspecified License
-----------------------------


---------------
Original SSLeay
---------------
Expand Down
12 changes: 7 additions & 5 deletions build.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,25 @@

To build the Helix-Blender plugin for DAM, follow these steps:

1. Download the source code from the GitHub repository and unzip the source code archive.
1. Ensure you have Python (>=3.9) installed.

2. Open a terminal (macOS) or PowerShell (Windows), and navigate to the directory where the source code was unzipped by running the following command:
2. Download the source code from the GitHub repository and unzip the source code archive.

3. Open a terminal (macOS) or PowerShell (Windows), and navigate to the directory where the source code was unzipped by running the following command:
```bash
cd /path/to/unzipped/source
```

3. Run the build command based on your operating system:
4. Run the build command based on your operating system:
- For **macOS**, run:
```bash
sh ./buildscripts/github_compile.sh
```
- For **Windows**, run the following command in PowerShell as Administrator:
- For **Windows**, run the following command in cmd:
```powershell
powershell -ExecutionPolicy Bypass -File .\buildscripts\github_compile.ps1
```

4. After the build succeeds, the final output will be generated in the same directory with the name `helix_blender_plugin.zip`.
5. After the build succeeds, the final output will be generated in the same directory with the name `helix_blender_plugin.zip`.

This zip file contains the built plugin and is ready for use.
9 changes: 8 additions & 1 deletion buildscripts/github_compile.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ if (Test-Path "venv") {

New-Item -ItemType Directory -Path "venv"

py -m venv venv
# Try to run the script using 'py'
$pythonCommand = "py"
if (-not (Get-Command $pythonCommand -ErrorAction SilentlyContinue)) {
# Fallback to 'python' if 'py' is not available
$pythonCommand = "python"
}

& $pythonCommand -m venv venv
& "$build\src\helix_blender_plugin\dam_app\venv\Scripts\Activate.ps1"

python.exe -m pip install --upgrade pip
Expand Down

0 comments on commit 01eb053

Please sign in to comment.