-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
33 lines (30 loc) · 902 Bytes
/
setup.py
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
import sys
import os
from cx_Freeze import setup, Executable
# Packages
from app.packages.pyside_or_pyqt import * # Qt
from app.packages.widgets import * # Widgets
# GUIs
from app.uis.login.ui_login import Ui_Login # Login / Splash Screen
from app.uis.main_window.ui_main import Ui_MainWindow # MainWindow
from app.uis.chat.page_messages import Chat # Chat Widget
# Modules
import app.modules.ui_functions.functions as ui_functions
import app.modules.app_settings.settings as app_settings
# ADD FILES/FOLDERS
files = ['icon.ico', 'settings.json','images/']
# TARGET
target = Executable(
script="main.py",
base="Win32GUI",
icon="icon.ico"
)
# SETUP CX FREEZE
setup(
name = "PyBlackBOX",
version = "1.0",
description = "Modern GUI for desktop chat",
author = "Wanderson M. Pimenta",
options = {'build_exe' : {'include_files' : files}},
executables = [target]
)