Correctly set images/webstuff path in htmldoc.py and setup.py

svn: r22578
This commit is contained in:
John Ralls 2013-06-23 23:24:02 +00:00
parent 3fd0762ae0
commit 1158e77e13
2 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ class HtmlDoc(BaseDoc, TextDoc):
if os.path.exists(fullpath): if os.path.exists(fullpath):
self.copy_file(fullpath, _HTMLSCREEN) self.copy_file(fullpath, _HTMLSCREEN)
#favicon #favicon
self.copy_file(os.path.join(IMAGE_DIR, 'favicon.ico'), self.copy_file(os.path.join(IMAGE_DIR, 'webstuff', 'favicon.ico'),
'favicon.ico') 'favicon.ico')
def __reduce_list(self): def __reduce_list(self):

View File

@ -390,7 +390,7 @@ SWANKY_IMG = glob.glob(os.path.join('data', 'css', 'swanky-purse', 'images', '*.
data_files_core.append(('share/doc/gramps', DOC_FILES)) data_files_core.append(('share/doc/gramps', DOC_FILES))
data_files_core.append(('share/doc/gramps/example/gedcom', GEDCOM_FILES)) data_files_core.append(('share/doc/gramps/example/gedcom', GEDCOM_FILES))
data_files_core.append(('share/doc/gramps/example/gramps', GRAMPS_FILES)) data_files_core.append(('share/doc/gramps/example/gramps', GRAMPS_FILES))
data_files_core.append(('share/gramps/images', IMAGE_WEB)) data_files_core.append(('share/gramps/images/webstuff', IMAGE_WEB))
data_files_core.append(('share/gramps/css', CSS_FILES)) data_files_core.append(('share/gramps/css', CSS_FILES))
data_files_core.append(('share/gramps/css/swanky-purse', SWANKY_PURSE)) data_files_core.append(('share/gramps/css/swanky-purse', SWANKY_PURSE))
data_files_core.append(('share/gramps/css/swanky-purse/images', SWANKY_IMG)) data_files_core.append(('share/gramps/css/swanky-purse/images', SWANKY_IMG))