Created
September 25, 2015 01:16
-
-
Save viktorvillalobos/3318668d5eba599a3bae to your computer and use it in GitHub Desktop.
setup.py cx_freeze + Python3.4 + PyQt5 + Requests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from cx_Freeze import setup, Executable | |
import requests.certs | |
build_exe_options = \ | |
{"include_files":[ | |
(requests.certs.where(),'cacert.pem'), | |
('config.ini'), | |
('input/'), | |
('output/') | |
]} | |
target = Executable( | |
script="main.py", | |
base="Win32GUI", | |
compress=True, | |
copyDependentFiles=True, | |
appendScriptToExe=True, | |
appendScriptToLibrary=False, | |
icon="icon.ico" | |
) | |
setup( | |
name = "CH Scrappint Tool", | |
version = "1.1", | |
description = "Companies Hose UK Scrapping Tool", | |
author = "Firesoft C.A", | |
options = {"build_exe": build_exe_options}, | |
executables = [target]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment