-
Notifications
You must be signed in to change notification settings - Fork 44
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (20 loc) · 745 Bytes
/
setup.py
File metadata and controls
25 lines (20 loc) · 745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# -*- coding: utf-8 -*-
# A very simple setup script to create a single executable built from a module
# which includes an executable section protected by "if __name__ == '__main__'
#
# 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
##
addtional_mods = ['numpy.core._methods', 'numpy.lib.format']
executables = [
Executable(r'test.py')
]
setup(name='test',
version='0.1',
description='Sample cx_Freeze script',
options = {'build_exe': {'includes': addtional_mods}},
executables=executables
)