Add sorting algorithm visualisations and EXE

This commit is contained in:
2019-06-25 18:52:52 +01:00
parent 2d05286a8f
commit 391d660c86
618 changed files with 1524 additions and 3 deletions

20
export-to-exe.py Normal file
View File

@@ -0,0 +1,20 @@
# for EXE output, run:
# python3 export-to-exe.py build
# for MSI output, run:
# python3 export-to-exe.py bdist_msi
# for DMG output, run:
# python3 export-to-exe.py bdist_dmg
import cx_Freeze
executables = [cx_Freeze.Executable("sorting-visualisations.py")] # change the Python file to the one you want to export
cx_Freeze.setup(
name = "Sorting Algorithms",
options = {
"build_exe": {
"packages": ["pygame", "time"],
"include_files": ["Roboto-Regular.ttf"]
}},
executables = executables
)