| 1 |
@echo off |
| 2 |
REM This script was copied from PythonQwt project |
| 3 |
REM ====================================================== |
| 4 |
REM Package build script |
| 5 |
REM ====================================================== |
| 6 |
REM Licensed under the terms of the MIT License |
| 7 |
REM Copyright (c) 2020 Pierre Raybaut |
| 8 |
REM (see PythonQwt LICENSE file for more details) |
| 9 |
REM ====================================================== |
| 10 |
call %~dp0utils GetScriptPath SCRIPTPATH |
| 11 |
call %FUNC% GetLibName LIBNAME |
| 12 |
call %FUNC% GetModName MODNAME |
| 13 |
call %FUNC% SetPythonPath |
| 14 |
call %FUNC% UsePython |
| 15 |
if exist MANIFEST ( del /q MANIFEST ) |
| 16 |
%PYTHON% -m build |
| 17 |
rmdir /s /q %LIBNAME%.egg-info |
| 18 |
call %FUNC% EndOfScript |