changeset 48:4d884cd29174

simplify script to mimic "moin" actions
author Roger Haase <crosseyedpenguin@yahoo.com>
date Mon, 28 Feb 2011 14:24:32 -0700
parents 026da86712e8
children 5ac57ba008b5
files moin.bat
diffstat 1 files changed, 2 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/moin.bat	Mon Feb 28 13:28:19 2011 -0700
+++ b/moin.bat	Mon Feb 28 14:24:32 2011 -0700
@@ -2,24 +2,8 @@
 echo.
 echo This executes the "moin" file under Windows.  Read the "moin" file for options.
 echo.
-echo Activating Python environment...
-call env\Scripts\activate.bat
-echo.
-echo Starting server... Press Ctrl-c keys to stop server, 
-echo then reply N to deactivate environment.
 
-if "%1"=="moin" goto Onemoin
-
-echo on
-python moin moin %*
-goto Deactivate
-
-:Onemoin
-echo on
+echo Starting server... Press Ctrl-c keys to stop server.
 python moin %*
 
-:Deactivate
-echo off
-echo.
-echo Deactivating Python environment...
-call env\Scripts\deactivate.bat
+