Skip to content

Commit d101c5a

Browse files
committed
Updated setup to delete existing files and removed TCL import.
1 parent 6ff6bf7 commit d101c5a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Infrastructure/Sessions/00010203-0405-0607-0809-0a0b0c0d0e0f

Whitespace-only changes.

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ def get_file_paths(folder_name):
1010
file_paths = [f for f in listdir(folder_name) if isfile(join(folder_name, f))]
1111
return ['{}/{}'.format(folder_name, i) for i in file_paths]
1212

13+
[os.remove(x) for x in get_file_paths('dist')]
1314
theme_file_paths = get_file_paths("Themes")
1415
tips_file_paths = get_file_paths("Tips")
1516
image_file_paths = get_file_paths("Images")
16-
tcl__path = '{}\\tcl\\tcl8.6\\init.tcl'.format(os.path.dirname(sys.executable))
1717
setup(windows=[{
1818
"script": 'MobTimer.py',
1919
"icon_resources": [(1, "time-bomb.ico")]
@@ -22,8 +22,7 @@ def get_file_paths(folder_name):
2222
('', ["MobTimer.cfg", "company-logo.png", "time-bomb.ico"]),
2323
('Themes', theme_file_paths),
2424
('Tips', tips_file_paths),
25-
('Images', image_file_paths),
26-
tcl__path]
25+
('Images', image_file_paths)]
2726
, requires=['screeninfo'])
2827

2928
def create_mac_app():

0 commit comments

Comments
 (0)