Skip to content

Commit

Permalink
🚀 added setup file
Browse files Browse the repository at this point in the history
  • Loading branch information
anarghya-das committed Dec 20, 2019
1 parent 7ee000b commit 93c3484
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
__pycache__
.vscode
build
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 93c3484

Please sign in to comment.