This repository has been archived by the owner on Jan 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix mails content + script to launch mokadi
- Loading branch information
Showing
11 changed files
with
103 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
@echo off | ||
@echo SCRIPT: windows_prefix | ||
if "%1"=="" goto default_value_python: | ||
if "%1"=="default" goto default_value_python: | ||
set pythonexe=%1 | ||
goto start_script: | ||
|
||
:default_value_python: | ||
set pythonexe=c:\Python36_x64\python | ||
|
||
@echo ~SET pythonexe=%pythonexe% | ||
|
||
:start_script: | ||
set current=%~dp0 | ||
if EXIST %current%setup.py goto current_is_setup: | ||
set current=%current%..\ | ||
cd .. | ||
if EXIST %current%setup.py goto current_is_setup: | ||
@echo Unable to find %current%setup.py | ||
exit /b 1 | ||
|
||
:current_is_setup: | ||
@echo ~SET current=%current% | ||
|
||
|
||
set PYTHONPATH=%PYTHONPATH%;%current%src;%current%\..\pyquickhelper\src;%current%\..\pyensae\src;%current%\..\mlstatpy\src;%current%\..\teachpyx\src;%current%\..\jyquickhelper\src;%current%\..\pymmails\src;%current%\..\ensae_teaching_cs\src | ||
%pythonexe% -u -c "from pyquickhelper.loghelper import fLOG;fLOG(OutputPrint=True);from jupytalk.mokadi import gui_mokadi;gui_mokadi(fLOG)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
@echo off | ||
@echo SCRIPT: windows_prefix | ||
if "%1"=="" goto default_value_python: | ||
if "%1"=="default" goto default_value_python: | ||
set pythonexe=%1 | ||
goto start_script: | ||
|
||
:default_value_python: | ||
set pythonexe=c:\Python36_x64\python | ||
|
||
@echo ~SET pythonexe=%pythonexe% | ||
|
||
:start_script: | ||
set current=%~dp0 | ||
@echo ~SET current=%current% | ||
set PYTHONPATH=%current%\src | ||
|
||
%pythonexe% -u %current%..\setup.py update_grammars | ||
if %errorlevel% neq 0 exit /b %errorlevel% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters