changeset 4088:68e925a7714b

remove outdated and unmaintained DesktopEdition scripts
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 13 Sep 2008 00:20:22 +0200
parents 3979f7c25616
children ffde07ec213e
files contrib/DesktopEdition/package_desktop.cmd contrib/DesktopEdition/setup_py2exe.py
diffstat 2 files changed, 0 insertions(+), 212 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/DesktopEdition/package_desktop.cmd	Sat Sep 13 00:16:04 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,124 +0,0 @@
-@echo off
-rem ToDo:
-rem Fix for 1.6
-rem Translate to English
-rem setup.py, welches die configvariablen abfragt und in sich selbst speichert, browserstartoption
-rem bugs fixen (siehe lokales wiki)
-rem HowToBuild aktualisieren
-
-set version=Release 1.6.0dev-1
-set buildfile=moin-desktop-1.6.0dev-1
-
-rem MoinMoin Quelle
-set build=moin--main--1.6
-rem set build=z:\root\moin--main--1.3
-
-set sevenzippath=C:\Programme\7-Zip\7z
-
-echo Building DesktopEdition %version% ...
-
-if exist %build% (
-	if exist moin-desktop (
-		del /Q /F /S moin-desktop >NUL 2>NUL
-		rmdir /S /Q moin-desktop
-	)
-	echo Creating page packages ...
-	cd %build%
-	make pagepacks
-	cd ..
-	
-	echo Creating base system ...
-	md moin-desktop
-	xcopy /E /I /Q "%build%\MoinMoin" "moin-desktop\MoinMoin"
-	xcopy /E /I /Q "%build%\wiki" "moin-desktop\wiki"
-	xcopy /E /I /Q /Y "_underlay\*" "moin-desktop\wiki\underlay\pages\"
-	md moin-desktop\docs
-	sed -n "/MoinMoin Version History/,/default options for new users are same/p" <"%build%\docs\CHANGES">"moin-desktop\docs\CHANGES"
-	xcopy /I /Q "%build%\docs\licenses\COPYING" "moin-desktop\docs"
-	xcopy /I /Q "%build%\README" "moin-desktop\docs\"
-	copy _resources\moin.py moin-desktop\	>NUL
-	copy _resources\wikiconfig.py moin-desktop\	>NUL
-	copy "_resources\MoinMoin DesktopEdition.url" moin-desktop\	>NUL
-	del /Q /F /S moin-desktop\.cvsignore>NUL
-	del /Q /F /S moin-desktop\CVS>NUL
-	del /Q /F moin-desktop\MoinMoin\i18n\*.po>NUL
-	del moin-desktop\wiki\underlay\pages\SystemPagesSetup\attachments\extra.zip >NUL
-	del moin-desktop\MoinMoin\_template.py>NUL
-	del moin-desktop\wiki\data\edit-log>NUL
-	del moin-desktop\wiki\README.underlay>NUL
-	del moin-desktop\wiki\underlay.tar>NUL
-	del moin-desktop\wiki\htdocs\index.html>NUL
-	del moin-desktop\wiki\htdocs\applets\index.html>NUL
-	
-	rd /Q /S moin-desktop\wiki\config\>NUL
-	rd /Q /S moin-desktop\wiki\server\>NUL
-	rd /Q /S moin-desktop\wiki\htdocs\applets\FCKeditor\_samples>NUL 2>NUL
-	rd /Q /S moin-desktop\wiki\htdocs\applets\FCKeditor\_testcases>NUL 2>NUL
-	del moin-desktop\wiki\htdocs\applets\FCKeditor\_documentation.html>NUL
-	del moin-desktop\wiki\htdocs\applets\FCKeditor\_whatsnew.html>NUL
-	del moin-desktop\wiki\htdocs\applets\FCKeditor\license.txt>NUL
-	
-	echo MoinMoin DesktopEdition - packaged by AlexanderSchremmer> moin-desktop\readme_desktop.txt
-	echo licensed under GNU GPL, see COPYING>> moin-desktop\readme_desktop.txt
-	echo %version%, see the page SystemInfo for exact revision>> moin-desktop\readme_desktop.txt
-	echo.>> moin-desktop\readme_desktop.txt
-	echo See http://moinmo.in/DesktopEdition for current information.>> moin-desktop\readme_desktop.txt
-	echo.>> moin-desktop\readme_desktop.txt
-	echo MoinMoin needs Python in order to run. You can download it here: http://www.python.org/download/>> moin-desktop\readme_desktop.txt
-	echo Python 2.4.3 is recommended, Python 2.3 is required. Nothing else is needed.>> moin-desktop\readme_desktop.txt
-	echo.>> moin-desktop\readme_desktop.txt
-	echo In order to start MoinMoin DesktopEdition, just run moin.py>> moin-desktop\readme_desktop.txt
-	echo and point your web browser to http://localhost:8080/>> moin-desktop\readme_desktop.txt
-
-	echo.>> moin-desktop\readme_desktop.txt
-
-	del /Q /F /S moin-desktop\*.pyc>NUL 2>NUL
-
-if exist %buildfile%.tbz del %buildfile%.tbz 
-if exist %buildfile%.zip del %buildfile%.zip
-if exist %buildfile%.exe del %buildfile%.exe
-echo Finished base build.
-echo.
-echo Press CTRL+C if you do not want to have any archives.
-echo Otherwise:
-pause
-
-echo Creating archives ...
-
-echo ZIP
-%sevenzippath% a -r -tzip -mx=9 %buildfile%.zip moin-desktop\*
-
-echo TBZ
-tar cjf %buildfile%.tbz moin-desktop
-
-echo Py2EXE
-	rem http://starship.python.net/crew/theller/moin.cgi/ExcludingDlls
-	cd moin-desktop
-	if not exist ..\setup_pyexe.py echo ERROR! setup_pyexe.py not found!
-	if exist build\NUL del /Q /F /S build
-	if exist dist\NUL del /Q /F /S dist
-	python ..\setup_pyexe.py py2exe -x -a
-	pause
-	del dist\w9xpopen.exe
-	rem C:\UTIL\#archiv\upx\upx --best --force dist\_socket.pyd dist\moin.exe
-	dir dist
-
-move dist MMDE
-move wikiconfig.py MMDE
-move docs MMDE\docs
-move "MoinMoin DesktopEdition.url" MMDE
-move readme_desktop.txt MMDE
-move wiki MMDE\wiki
-
-echo 7z,EXE
-%sevenzippath% a -r -t7z -sfx7z.sfx -mx=7 ..\%buildfile%.exe MMDE\*
-cd ..
-
-
-echo Created archives.
-
-) ELSE (
-	echo %build% was not found!
-)
-pause
-
--- a/contrib/DesktopEdition/setup_py2exe.py	Sat Sep 13 00:16:04 2008 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,88 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-"""
-    MoinMoin - <short description>
-
-    <what this stuff does ... - verbose enough>
-
-    @copyright: 2006 by MoinMoin:YourNameHere 
-    @license: GNU GPL, see COPYING for details.
-"""
-
-from distutils.core import setup
-import py2exe
-
-setup(
-    version = "1.6.0.0",
-    description = "MMDE is a wiki suitable for desktop use",
-    name = "MoinMoin DesktopEdition",
-
-    # targets to build
-    console = [{
-        "script": "moin.py",
-        "icon_resources": [(1, r"..\moin--main--1.6\wiki\htdocs\favicon.ico")],
-            }],
-    zipfile = r"pylib",
-    options = {
-        "py2exe": {
-            'bundle_files': 2,
-            "excludes": ["Tkconstants","Tkinter","tcl", "popen2", "gzip", "gdchart", "mod_python", "_pybsddb",
-                         "dbhash", # do not support hashed spellchecker dictionaries
-                         "_ssl", # do not support SSL connections
-                         "smtplib", 'email.MIMEText', # do not support mails
-                         "select", "tty", # just used by pydoc
-                         "os2emxpath", #used by os
-                         "doctest", # called by test code
-                         "MoinMoin.i18n.check_i18n",
-                         "teud", "xapian",
-                         'Ft.Lib', 'Ft.Xml', 'Ft.Xml.Xslt.Processor', "Ft",
-                         #"xml",
-                         'Image', 'xml.parsers','xml.sax', 'xml.xslt.Processor',
-                         "cookielib", # added because of rst/urllib2
-"wikiconfig", # we will supply it manually
-"hotshot",
-"stringprep", "encodings.idna",
-
-                         ],
-            "optimize": 2,
-            "includes": ['encodings', 'encodings.iso8859_1', 'encodings.utf_8', 'encodings.ascii', 'encodings.utf_16_be', 'encodings.latin_1', 'encodings.iso8859_15', 'encodings.cp437',
-                         'email.Utils',
-                         'MoinMoin.action.*', 'MoinMoin.formatter.*', 'MoinMoin.macro.*', 'MoinMoin.parser.*', 'MoinMoin.theme.*',
-                         'xml.dom', 'xml.dom.minidom',
-                         'docutils.readers.standalone',
-                         'docutils.languages.en',
-                         'docutils.parsers.rst.directives.*',
-                         'docutils.parsers.rst.directives.admonitions',
-'docutils.parsers.rst.directives.body',
-'docutils.parsers.rst.directives.html',
-'docutils.parsers.rst.directives.images',
-'docutils.parsers.rst.directives.parts',
-'docutils.parsers.rst.directives.references',
-"MoinMoin.i18n.zh_tw",
-"MoinMoin.i18n.zh",
-"MoinMoin.i18n.vi",
-"MoinMoin.i18n.sr",
-"MoinMoin.i18n.ru",
-"MoinMoin.i18n.nl",
-"MoinMoin.i18n.nb",
-"MoinMoin.i18n.meta",
-"MoinMoin.i18n.ko",
-"MoinMoin.i18n.ja",
-"MoinMoin.i18n.it",
-"MoinMoin.i18n.hu",
-"MoinMoin.i18n.he",
-"MoinMoin.i18n.fr",
-"MoinMoin.i18n.es",
-"MoinMoin.i18n.en",
-"MoinMoin.i18n.de",
-"MoinMoin.i18n.da",
-"MoinMoin.i18n.__init__",
-],
-            "dll_excludes": ["w9xpopen.exe", # we dont use popen
-                             "bz2.pyd",
-"unicodedata.pyd",
-
-                             ],
-        }
-    }
-    )
-