From 93c3484c3a564570bf69b1c4b4d48f1e4f8e1a38 Mon Sep 17 00:00:00 2001 From: Anarghya Das Date: Fri, 20 Dec 2019 02:24:18 -0500 Subject: [PATCH] :rocket: added setup file --- .gitignore | 1 + setup.py | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index f53d18e..7a70d34 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ __pycache__ .vscode +build \ No newline at end of file diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..f1cc57e --- /dev/null +++ b/setup.py @@ -0,0 +1,10 @@ +import cx_Freeze + +executables = [cx_Freeze.Executable("main.py")] + +cx_Freeze.setup( + name="Space Invader", + options={"build_exe": {"packages": ["pygame"], + "include_files": ["back.jpg", "bullet.png", "enemy.png", "player.png"]}}, + executables=executables +)