|
|
@@ -674,12 +674,16 @@ class build_apps(setuptools.Command):
|
|
|
rootdir = wf.split(os.path.sep, 1)[0]
|
|
|
search_path.append(os.path.join(whl, rootdir, '.libs'))
|
|
|
|
|
|
+ # Also look for eg. numpy.libs or Pillow.libs in the root
|
|
|
+ whl_name = os.path.basename(whl).split('-', 1)[0]
|
|
|
+ search_path.append(os.path.join(whl, whl_name + '.libs'))
|
|
|
+
|
|
|
# Also look for more specific per-package cases, defined in
|
|
|
# PACKAGE_LIB_DIRS at the top of this file.
|
|
|
- whl_name = os.path.basename(whl).split('-', 1)[0]
|
|
|
extra_dirs = PACKAGE_LIB_DIRS.get(whl_name, [])
|
|
|
for extra_dir in extra_dirs:
|
|
|
search_path.append(os.path.join(whl, extra_dir.replace('/', os.path.sep)))
|
|
|
+
|
|
|
return search_path
|
|
|
|
|
|
def create_runtime(appname, mainscript, use_console):
|