-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (25 loc) · 962 Bytes
/
Copy pathsetup.py
File metadata and controls
28 lines (25 loc) · 962 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
26
27
28
import os
from setuptools import setup, find_packages
APP = ['main.py']
APP_NAME = 'FTP Client Program'
DATA_FILES = [
os.path.join(os.path.dirname(__file__), 'icons/delete.png'),
os.path.join(os.path.dirname(__file__), 'icons/directory.png'),
os.path.join(os.path.dirname(__file__), 'icons/error.png'),
os.path.join(os.path.dirname(__file__), 'icons/file.png'),
os.path.join(os.path.dirname(__file__), 'icons/left.png'),
os.path.join(os.path.dirname(__file__), 'icons/loadingSpinner.png'),
os.path.join(os.path.dirname(__file__), 'icons/right.png')
# add icon files
]
OPTIONS = {
'argv_emulation': True, # provides emulator for `open application` and `open document` events
'includes': ['sip', 'PyQt5'] # used for including extra Python modules that didn't get automatically included
}
setup(
app=APP,
name=APP_NAME,
data_files=DATA_FILES,
packages=find_packages(),
setup_requires=['py2app'],
)