vaibhavlakshmi's picture
Upload folder using huggingface_hub
cd04641 verified
raw
history blame contribute delete
805 Bytes
#!/bin/bash
echo "🍏 Building OpenVinayaka for macOS..."
# 0. Compile Hybrid Engine
echo "⚙️ Compiling C++ Kernel..."
cd ../../Production_Hybrid_Engine
python3 setup.py build_ext --inplace
cd ../Installers/macOS
# 1. Build Single File Executable
# Note: You need to run 'pip install pyinstaller' first
pyinstaller --clean ../openvinayaka.spec
# 2. Create Directory Structure
mkdir -p dist/OpenVinayaka
cp dist/openvinayaka dist/OpenVinayaka/openvinayaka
# 3. Create DMG (Simulated)
# In a real CI environment, we would use 'create-dmg' tool.
# For now, we package it as a zip which is also common for CLI tools on Mac.
cd dist
tar -czvf OpenVinayaka_macOS_v1.0.tar.gz OpenVinayaka
echo "✅ macOS Installer created: OpenVinayaka_Release_v1/Installers/macOS/dist/OpenVinayaka_macOS_v1.0.tar.gz"