diff --git a/deployment/README.html b/deployment/README.html new file mode 100644 index 0000000000000000000000000000000000000000..81dcb0b00da1e799721008e8faa167d7864781a3 --- /dev/null +++ b/deployment/README.html @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html + PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + +<head> +<title>Protein Model Portal - PSI SGKB</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<meta name="robots" content="noarchive" /> +<meta http-equiv="Content-Style-Type" content="text/css" /> +<link rel="icon" href="share/favicon.ico" type="image/x-icon" /> +<link rel="author" title="The OpenStructure Team" href="?pid=contact" /> +</head> +<body> +<p style="color:gray"> + +-----------------------------README----------------------------------------<br/> + This file is part of the OpenStructure project <www.openstructure.org><br/> +<br/> + Copyright (C) 2008-2010 by the OpenStructure authors<br/> +<br/> + This library is free software; you can redistribute it and/or modify it under<br/> + the terms of the GNU Lesser General Public License as published by the Free<br/> + Software Foundation; either version 3.0 of the License, or (at your option)<br/> + any later version.<br/> + This library is distributed in the hope that it will be useful, but WITHOUT<br/> + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS<br/> + FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more<br/> + details.<br/> +<br/> + You should have received a copy of the GNU Lesser General Public License<br/> + along with this library; if not, write to the Free Software Foundation, Inc.,<br/> + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA<br/> +------------------------------------------------------------------------------<br/> +</p> +<br/> +Thank you for using OpenStructure!<br/> +<br/> +This is the current Version of OpenStructure as of June 2010.<br/> +Version: 1.0.0a rev 2442<br/> +<br/> +This is a major release containig many bugfixes and improvements considering rendering, GUI and further <br/> +functionality.<br/> +<br/> +For feedback or suggestions please contact us at <a href="http://www.openstructure.org">www.openstructure.org!</a><br/> +<br/> +<br/> +The OpenStructure Authors<br/> + +</body> \ No newline at end of file diff --git a/deployment/README.txt b/deployment/README.txt deleted file mode 100644 index 36189abe542ac53e4877782a210bc714ada5273b..0000000000000000000000000000000000000000 --- a/deployment/README.txt +++ /dev/null @@ -1,34 +0,0 @@ ------------------------------------------------------------------------------- - This file is part of the OpenStructure project <www.openstructure.org> - - Copyright (C) 2008-2010 by the OpenStructure authors - - This library is free software; you can redistribute it and/or modify it under - the terms of the GNU Lesser General Public License as published by the Free - Software Foundation; either version 3.0 of the License, or (at your option) - any later version. - This library is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - details. - - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ------------------------------------------------------------------------------- - - -=========================README========================= - -Thank you for using OpenStructure! - -This is the current Version of OpenStructure as of June 2010. -Version: 1.0.0a rev 2442 - -This is a major release containig many bugfixes and improvements considering rendering, GUI and further -functionality. - -For feedback or suggestions please contact us at www.openstructure.org! - - -The OpenStructure Authors \ No newline at end of file diff --git a/deployment/win/create_archive.bat b/deployment/win/create_archive.bat index b254e60e1d90aefac388912d423a83a701aa7088..47f715797a5193e2fbc609a829b38204ab1d3625 100644 --- a/deployment/win/create_archive.bat +++ b/deployment/win/create_archive.bat @@ -1,8 +1,11 @@ @ECHO OFF REM create a zip archive for deployment on windows -REM no regisrty entries +REM no registry entries REM no PATHs will be changed except in the DNG session -set inst_dir=openstructure1.0.0a1_2381 +REM +REM Author Juergen Haas +REM +set inst_dir=openstructure1.0.0a1_2451 set archive_name=OpenStructureWin32 if exist "%inst_dir%" rmdir /S /Q "%inst_dir%" if exist %archive_name%.zip del %archive_name%.zip*.* @@ -10,14 +13,16 @@ REM dir /S %inst_dir% mkdir "%inst_dir%\share\openstructure\examples" mkdir "%inst_dir%\lib\site-packages" mkdir "%inst_dir%\bin" -xcopy /E /I ..\..\examples "%inst_dir%\share\openstructure\examples" -xcopy /E /I ..\..\stage\share "%inst_dir%\share\" +xcopy /E /I /Y /EXCLUDE:exclude_file_types ..\..\examples "%inst_dir%\share\openstructure\examples" +xcopy /E /I /Y /EXCLUDE:exclude_file_types ..\..\stage\share "%inst_dir%\share\" REM xcopy /E /I ..\..\website\html "%inst_dir%\share\doc" copy d:\programs\bin\python.exe "%inst_dir%\bin" - -xcopy /E /I /EXCLUDE:excludes d:\programs\lib "%inst_dir%\lib" -xcopy /E /I ..\..\stage\lib "%inst_dir%\lib" -xcopy /E /I /EXCLUDE:excludes ..\..\stage\bin "%inst_dir%\bin" +copy ..\README.html "%inst_dir%" +copy ..\..\graphics\favicon.ico "%inst_dir%\share" +copy dng.bat "%inst_dir%" +xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types d:\programs\lib "%inst_dir%\lib" +xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types ..\..\stage\lib "%inst_dir%\lib" +xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types ..\..\stage\bin "%inst_dir%\bin" set PATH="c:\Program Files (x86)"\7-Zip\;%PATH% REM 7z a -r -t7z %archive_name% "%inst_dir%" > log REM if exist %archive_name%.7z copy /b 7zS.sfx + config.txt + %archive_name%.7z %archive_name%.exe diff --git a/deployment/win/create_archive.bat.in b/deployment/win/create_archive.bat.in index f7037e2172c241b762dfe8b06d780f4e7fd5cb76..c5f7cd4920751ed6e02ad3e5f3fdbc37a4b7dd86 100644 --- a/deployment/win/create_archive.bat.in +++ b/deployment/win/create_archive.bat.in @@ -1,7 +1,10 @@ @ECHO OFF REM create a zip archive for deployment on windows -REM no regisrty entries +REM no registry entries REM no PATHs will be changed except in the DNG session +REM +REM Author Juergen Haas +REM set inst_dir=openstructure@OST_VERSION@ set archive_name=OpenStructureWin32 if exist "%inst_dir%" rmdir /S /Q "%inst_dir%" @@ -10,16 +13,16 @@ REM dir /S %inst_dir% mkdir "%inst_dir%\share\openstructure\examples" mkdir "%inst_dir%\lib\site-packages" mkdir "%inst_dir%\bin" -xcopy /E /I ..\..\examples "%inst_dir%\share\openstructure\examples" -rmdir /S /Q "%inst_dir%\share\openstructure\examples\dokk" -xcopy /E /I ..\..\stage\share "%inst_dir%\share\" +xcopy /E /I /Y /EXCLUDE:exclude_file_types ..\..\examples "%inst_dir%\share\openstructure\examples" +xcopy /E /I /Y /EXCLUDE:exclude_file_types ..\..\stage\share "%inst_dir%\share\" REM xcopy /E /I ..\..\website\html "%inst_dir%\share\doc" copy d:\programs\bin\python.exe "%inst_dir%\bin" -copy ..\README.txt "%inst_dir%" +copy ..\README.html "%inst_dir%" +copy ..\..\graphics\favicon.ico "%inst_dir%\share" copy dng.bat "%inst_dir%" -xcopy /E /I /EXCLUDE:excludes d:\programs\lib "%inst_dir%\lib" -xcopy /E /I ..\..\stage\lib "%inst_dir%\lib" -xcopy /E /I /EXCLUDE:excludes ..\..\stage\bin "%inst_dir%\bin" +xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types d:\programs\lib "%inst_dir%\lib" +xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types ..\..\stage\lib "%inst_dir%\lib" +xcopy /E /I /Y /EXCLUDE:excludes+exclude_file_types ..\..\stage\bin "%inst_dir%\bin" set PATH="c:\Program Files (x86)"\7-Zip\;%PATH% REM 7z a -r -t7z %archive_name% "%inst_dir%" > log REM if exist %archive_name%.7z copy /b 7zS.sfx + config.txt + %archive_name%.7z %archive_name%.exe diff --git a/deployment/win/exclude_file_types b/deployment/win/exclude_file_types new file mode 100644 index 0000000000000000000000000000000000000000..c6744ff4e47d822e59c7f87e429cc9bc4deebfcf --- /dev/null +++ b/deployment/win/exclude_file_types @@ -0,0 +1,5 @@ +.lib +.exp +.pyc +.idb +dokk \ No newline at end of file diff --git a/deployment/win/excludes b/deployment/win/excludes index cd3894ade9c8cd5571d39e7d2c84bb571ac97f35..9e8fc733f560afd6a1ac1eeb5f34b27e1921cc7d 100644 --- a/deployment/win/excludes +++ b/deployment/win/excludes @@ -3,4 +3,7 @@ graph prg_exec signals libboost -create_archive \ No newline at end of file +create_archive +.pdb +markdown +pygments \ No newline at end of file