Copy also tryton locale on win32 as directory is clean before

issue2921
review597006
(transplanted from e5cdaf0a7ba1fd96593138d905bebe50de6c5663)
This commit is contained in:
Cédric Krier committed 2012-12-13 19:06:01 +01:00
1 parent 38ace29ddb
commit fc142bdb4c
1 file changed
+10
+10
View File
@@ -250,6 +250,11 @@ if os.name == 'nt':
if os.path.isdir(os.path.join(gtk_dir, 'share', 'locale', lang)):
shutil.copytree(os.path.join(gtk_dir, 'share', 'locale', lang),
os.path.join(dist_dir, 'share', 'locale', lang))
if os.path.isdir(os.path.join(os.path.dirname(__file__),
'share', 'locale', lang)):
shutil.copytree(os.path.join(os.path.dirname(__file__),
'share', 'locale', lang),
os.path.join(dist_dir, 'share', 'locale', lang))
if os.path.isdir(os.path.join(dist_dir, 'share', 'themes',
'MS-Windows')):
@@ -365,6 +370,11 @@ elif sys.platform == 'darwin':
if os.path.isdir(os.path.join(gtk_dir, 'share', 'locale', lang)):
shutil.copytree(os.path.join(gtk_dir, 'share', 'locale', lang),
os.path.join(resources_dir, 'share', 'locale', lang))
if os.path.isdir(os.path.join(os.path.dirname(__file__),
'share', 'locale', lang)):
shutil.copytree(os.path.join(os.path.dirname(__file__),
'share', 'locale', lang),
os.path.join(resources_dir, 'share', 'locale', lang))
# fix pathes within shared libraries
for library in chain(