Skip to content

Commit ae2cecb

Browse files
author
Ram Rachum
committed
-
1 parent 96df53a commit ae2cecb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

garlicsim_wx/py2exe_cruft/setup_extension.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
alongside the `garlicsim_wx` folder, as in the official git repo of GarlicSim.
1414
'''
1515

16+
# todo: this module needs to be rewritten.
17+
18+
1619
import setuptools
1720
import py2exe
1821
import imp
@@ -259,7 +262,7 @@ def get_test_garlicsim_wx_data_files():
259262
for package in test_garlicsim_wx_packages:
260263
path = package_to_path(package)
261264
all_files_and_folders = \
262-
glob.glob(path_to_test_garlicsim_wx + '/' + path + '/*')
265+
glob.glob(path + '/*')
263266
data_files = [f for f in all_files_and_folders if
264267
(not '.py' in f[-4:]) and (not os.path.isdir(f))]
265268
total_data_files.append(('lib/' + path, data_files))

0 commit comments

Comments
 (0)