mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
19 lines
600 B
Python
19 lines
600 B
Python
# A very simple setup script to create a single executable
|
|
#
|
|
# hello.py is a very simple "Hello, world" type script which also displays the
|
|
# environment in which the script runs
|
|
#
|
|
# Run the build process by running the command 'python setup.py build'
|
|
#
|
|
# If everything works well you should find a subdirectory in the build
|
|
# subdirectory that contains the files needed to run the script without Python
|
|
|
|
from cx_Freeze import setup, Executable
|
|
|
|
setup(
|
|
name = "hello",
|
|
version = "0.1",
|
|
description = "Sample cx_Freeze script",
|
|
executables = [Executable("hello.py")])
|
|
|