Skip to content

Instantly share code, notes, and snippets.

@uchcode
uchcode / Create-standalone-Mac-OS-X-applications-with-Python.md
Last active February 8, 2023 05:05
PythonでスタンドアロンのMac OS Xアプリケーションを作成する

PythonでスタンドアロンのMac OS Xアプリケーションを作成する

Pythonのプログラムを配布可能なアプリケーションを作成する方法について扱います。

Pythonプログラムの実行方式

コンピュータが理解できるのは突き詰めると、0と1だけです。そのため、プログラムを実行するには「プログラミング言語で書かれたテキストのプログラム」を0と1に変換する必要があります。そのやり方には2つあり、ひとつはコンパイラを使うもので、もうひとつはインタプリタを使うものです。

以下に両者の違いについて記載します。

diff --git a/Rakefile b/Rakefile
index 1e41707..f94998c 100644
--- a/Rakefile
+++ b/Rakefile
@@ -77,6 +77,8 @@ specification_version: 2
summary: N-dimensional Numerical Array class for Ruby
test_files: []
+licenses: []
+