Fix Python Module build on Windows #105999

Merged
Brecht Van Lommel merged 4 commits from brecht/blender:fix-py-module-win into blender-v3.5-release 2023-03-28 16:32:39 +02:00

Don't install libraries in blender.shared and don't generate manifest
as it's not working and not important to have a clean directory here.

Always detect MSVC_REDIST_DIR as it is used by oneAPI. The way
InstallRequiredSystemLibraries is called it already only sets some
variables and doesn't install anything by itself.

Don't install libraries in blender.shared and don't generate manifest as it's not working and not important to have a clean directory here. Always detect MSVC_REDIST_DIR as it is used by oneAPI. The way InstallRequiredSystemLibraries is called it already only sets some variables and doesn't install anything by itself.
Brecht Van Lommel added this to the 3.5 milestone 2023-03-22 16:01:25 +01:00
Author
Owner
https://builder.blender.org/admin/#/builders/136/builds/824
Brecht Van Lommel force-pushed fix-py-module-win from 8fdebadff7 to e760cd0d25 2023-03-27 12:03:37 +02:00 Compare
Brecht Van Lommel added 1 commit 2023-03-27 13:23:23 +02:00
Fix dll install dir
Some checks failed
buildbot/vexp-code-patch-coordinator Build done.
a2dc61aba9
Brecht Van Lommel added 1 commit 2023-03-27 17:33:32 +02:00
Brecht Van Lommel added 1 commit 2023-03-27 18:24:49 +02:00
Eliminate another blender.shared reference
All checks were successful
buildbot/vexp-code-patch-coordinator Build done.
356787ecf7
Brecht Van Lommel requested review from Ray molenkamp 2023-03-27 18:57:20 +02:00
Author
Owner

I'm not sure if this is smart to put into 3.5 still since it does come with some risk. I can land this right after too. Mainly I want to have this working so I can upload a package to PyPI not too long after the official release.

I'm not sure if this is smart to put into 3.5 still since it does come with some risk. I can land this right after too. Mainly I want to have this working so I can upload a package to PyPI not too long after the official release.
Author
Owner
https://builder.blender.org/admin/#/builders/136/builds/857
Member

Can confirm the generated whl from the bot will install and load just fine on my local py 3.10.6 env.

Running an extra regular build just to be sure it didn't break that

@blender-bot package

Can confirm the generated whl from the bot will install and load just fine on my local py 3.10.6 env. Running an extra regular build just to be sure it didn't break that @blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR105999) when ready.
Brecht Van Lommel changed title from Fix Python Module build on Windows with GPU binaries to Fix Python Module build on Windows 2023-03-28 16:32:11 +02:00
Ray molenkamp approved these changes 2023-03-28 16:32:18 +02:00
Brecht Van Lommel merged commit 6e51f8d202 into blender-v3.5-release 2023-03-28 16:32:39 +02:00
Brecht Van Lommel deleted branch fix-py-module-win 2023-03-28 16:32:40 +02:00
Sign in to join this conversation.
No reviewers
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#105999
No description provided.