Skip to content

Commit

Permalink
We can embed python on all apple devices, enable it.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Aug 3, 2024
1 parent e5c91c7 commit 73f6c0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/MetaversalDemo/Creator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ class Creator
{
let C: Creator

#if canImport(Python) && os(macOS)
#if canImport(Python) && (os(macOS) || os(visionOS) || os(iOS) || os(tvOS) || os(watchOS))
/* embed & init python. */
PyBundler.shared.pyInit()
PyBundler.shared.pyInfo()
#endif // canImport(Python) && os(macOS)
#endif // canImport(Python)

C = Creator()

Expand Down

0 comments on commit 73f6c0c

Please sign in to comment.