We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96df53a commit ae2cecbCopy full SHA for ae2cecb
garlicsim_wx/py2exe_cruft/setup_extension.py
@@ -13,6 +13,9 @@
13
alongside the `garlicsim_wx` folder, as in the official git repo of GarlicSim.
14
'''
15
16
+# todo: this module needs to be rewritten.
17
+
18
19
import setuptools
20
import py2exe
21
import imp
@@ -259,7 +262,7 @@ def get_test_garlicsim_wx_data_files():
259
262
for package in test_garlicsim_wx_packages:
260
263
path = package_to_path(package)
261
264
all_files_and_folders = \
- glob.glob(path_to_test_garlicsim_wx + '/' + path + '/*')
265
+ glob.glob(path + '/*')
266
data_files = [f for f in all_files_and_folders if
267
(not '.py' in f[-4:]) and (not os.path.isdir(f))]
268
total_data_files.append(('lib/' + path, data_files))
0 commit comments