text stringlengths 0 834k |
|---|
%SPHINXBUILD% -b dummy %ALLSPHINXOPTS% %BUILDDIR%/dummy |
if errorlevel 1 exit /b 1 |
echo. |
echo.Build finished. Dummy builder generates no files. |
goto end |
) |
:end |
",26.4680851064,79,0.7057877814 |
219473,d2ee44faca69b3edae3ac6d5ecb63532618f688c,1638,bat,Batchfile,scripts/build_windows.bat,x211321/VGC_Analyze,e876d83f5682d0eae111478887e0c0a607055130,['MIT'],,,,scripts/build_windows.bat,x211321/VGC_Analyze,e876d83f5682d0eae111478887e0c0a607055130,['MIT'],,,,scripts/build_windows.bat,x211321/VGC_Analyze,e876d83f5682d0eae111478887e0c0a607055130,['MIT'],,,," |
REM Generate and read version info |
python ./versionInfoGen.py |
set /p VERSION=<.\file_name_version |
REM Create virual environment |
mkdir .\build |
cd .\build |
mkdir .\virtual_env |
python -m venv .\virtual_env |
REM Activate virual environment |
set PATH=%CD%\virtual_env\Scripts;%PATH% |
REM Install dependencies |
python -m pip install pip |
python -m pip install Pillow |
python -m pip install matplotlib |
python -m pip install pyinstaller |
python -m pip install polib |
REM Cleanup dependencies to reduce the file size of the executable |
rmdir /S /Q .\virtual_env\Lib\site-packages\matplotlib\mpl-data\fonts |
rmdir /S /Q .\virtual_env\Lib\site-packages\matplotlib\mpl-data\images |
rmdir /S /Q .\virtual_env\Lib\site-packages\matplotlib\mpl-data\plot_directive |
rmdir /S /Q .\virtual_env\Lib\site-packages\matplotlib\mpl-data\sample_data |
rmdir /S /Q .\virtual_env\Lib\site-packages\matplotlib\mpl-data\stylelib |
REM Run Pyinstaller |
REM Standalone binary |
pyinstaller --onefile ^ |
--windowed ^ |
--add-data=""%CD%\..\..\assets;assets"" ^ |
--icon=""%CD%\..\..\assets\icons\icon.ico"" ^ |
--name=""VGC_Analyze_%VERSION%_standalone_win"" ^ |
..\..\VGC_Analyze.py |
REM Bundle for Inno setup installer |
pyinstaller --noconfirm ^ |
--windowed ^ |
--add-data=""%CD%\..\..\assets;assets"" ^ |
--icon=""%CD%\..\..\assets\icons\icon.ico"" ^ |
..\..\VGC_Analyze.py |
REM Generate installer |
REM The INNO_SETUP_HOME environment variable must point to |
REM the local Inno Setup installation |
cd .. |
""%INNO_SETUP_HOME%\ISCC.exe"" .\setup_windows.iss |
REM Generate script bundle |
python ./bundle.py |
",29.7818181818,78,0.7112332112 |
219474,d2ee48d2be08b59f6ae11cc17d172e11ae0ee498,1026,bat,Batchfile,docs/make.bat,tmajerech/volebni_kalkulacka,dfe0533d4359806ff8f90bd7aa1c679b4a016d09,['MIT'],,,,docs/make.bat,tmajerech/volebni_kalkulacka,dfe0533d4359806ff8f90bd7aa1c679b4a016d09,['MIT'],1.0,2021-02-12T10:03:31.000Z,2021-02-12T10:03:31.000Z,docs/make.bat,tmajerech/volebni_kalkulacka,dfe0533d4359806ff8f90bd7aa1c679b4a016d09,['MIT'],,,,"@ECHO OFF |
pushd %~dp0 |
REM Command file for Sphinx documentation |
if ""%SPHINXBUILD%"" == """" ( |
set SPHINXBUILD=sphinx-build -c . |
) |
set SOURCEDIR=_source |
set BUILDDIR=_build |
set APP=..\volebni_kalkulacka |
if ""%1"" == """" goto help |
%SPHINXBUILD% >NUL 2>NUL |
if errorlevel 9009 ( |
echo. |
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx |
echo.installed, then set the SPHINXBUILD environment variable to point |
echo.to the full path of the 'sphinx-build' executable. Alternatively you |
echo.may add the Sphinx directory to PATH. |
echo. |
echo.Install sphinx-autobuild for live serving. |
echo.If you don't have Sphinx installed, grab it from |
echo.http://sphinx-doc.org/ |
exit /b 1 |
) |
%SPHINXBUILD% -b %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% |
goto end |
:livehtml |
sphinx-autobuild -b html --open-browser -p 7000 --watch %APP% -c . %SOURCEDIR% %BUILDDIR%/html |
GOTO :EOF |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.