-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (33 loc) · 1.26 KB
/
setup.py
File metadata and controls
46 lines (33 loc) · 1.26 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
This is a setup script which creates a a folder containing Windows
executable (*.exe) file and all the required components for it to run
in a portable environment (without the associated console).
Run the build process by running the following command:
python3 setup.py build
If everything works well you should find a subdirectory in the build
subdirectory that contains the files needed to run the application
To create an *.msi installer which would allow you to install the file
like other windows programs, run the following command:
python3 setup.py bdist_msi
"""
import sys
from cx_Freeze import setup, Executable
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
options = {'build_exe': dict(includes='atexit',
include_files=['LICENSE.txt'],
silent=True)}
executables = [Executable(script='BoringGorilla.py',
base=base,
target_name='BoringGorilla.exe',
icon=None)]
setup(name='BoringGorilla',
version='0.1',
description='Downloads and processes data for Stock Markets',
author='Aditya',
options=options,
executables=executables
)