Fixed osxphotos.spec datas
This commit is contained in:
@@ -8,7 +8,7 @@ import importlib
|
|||||||
pathex = os.getcwd()
|
pathex = os.getcwd()
|
||||||
|
|
||||||
# include necessary data files
|
# include necessary data files
|
||||||
datas=[('osxphotos/templates/xmp_sidecar.mako', 'osxphotos/templates/xmp_sidecar_beta.mako', 'osxphotos/templates')]
|
datas=[('osxphotos/templates/xmp_sidecar.mako', 'osxphotos/templates'), ('osxphotos/templates/xmp_sidecar_beta.mako', 'osxphotos/templates')]
|
||||||
package_imports = [['photoscript', ['photoscript.applescript']]]
|
package_imports = [['photoscript', ['photoscript.applescript']]]
|
||||||
for package, files in package_imports:
|
for package, files in package_imports:
|
||||||
proot = os.path.dirname(importlib.import_module(package).__file__)
|
proot = os.path.dirname(importlib.import_module(package).__file__)
|
||||||
|
|||||||
Reference in New Issue
Block a user