File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ @ echo off
2+ set UNATTENDED = 1
3+ call build_doc.bat
4+ call build_dist.bat
5+ @ echo :
6+ @ echo ==============================================================================
7+ choice /t 5 /c yn /cs /d n /m " Do you want to upload packages to PyPI (y/n)?"
8+ if errorlevel 2 goto :no
9+ if errorlevel 1 goto :yes
10+ :yes
11+ @ echo ==============================================================================
12+ @ echo :
13+ @ echo twine upload dist/*
14+ GOTO :continue
15+ :no
16+ @ echo :
17+ @ echo Warning: Packages were not uploaded to PyPI
18+ :continue
19+ @ echo :
20+ @ echo ==============================================================================
21+ @ echo :
22+ @ echo End of script
23+ pause
Original file line number Diff line number Diff line change 1+ @ echo off
2+ if defined WINPYDIRBASE (
3+ call %WINPYDIRBASE% \scripts\env.bat
4+ @ echo ==============================================================================
5+ @ echo :
6+ @ echo Using WinPython from %WINPYDIRBASE%
7+ @ echo :
8+ @ echo ==============================================================================
9+ @ echo :
10+ )
111del MANIFEST
212rmdir /S /Q build
313rmdir /S /Q dist
414set PYTHONPATH = %cd%
515python setup.py sdist bdist_wheel --universal
6- python setup.py build sdist
16+ python setup.py build sdist
17+ @ echo :
18+ @ echo ==============================================================================
19+ @ echo :
20+ if not defined UNATTENDED (
21+ @ echo End of script
22+ pause
23+ )
Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ exit /B %ERRORLEVEL%
1212:test
1313set ENV = C:\%~1 \scripts\env.bat
1414if exist %ENV% (
15- echo ************************** Testing with %~1 **************************
15+ @ echo :
16+ @ echo ************************** Testing with %~1 **************************
17+ @ echo :
1618 call %ENV%
1719 python -m qwt.tests.__init__
1820 )
You can’t perform that action at this time.
0 commit comments