File tree Expand file tree Collapse file tree 3 files changed +44
-2
lines changed Expand file tree Collapse file tree 3 files changed +44
-2
lines changed 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
+ )
1
11
del MANIFEST
2
12
rmdir /S /Q build
3
13
rmdir /S /Q dist
4
14
set PYTHONPATH = %cd%
5
15
python 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%
12
12
:test
13
13
set ENV = C:\%~1 \scripts\env.bat
14
14
if exist %ENV% (
15
- echo ************************** Testing with %~1 **************************
15
+ @ echo :
16
+ @ echo ************************** Testing with %~1 **************************
17
+ @ echo :
16
18
call %ENV%
17
19
python -m qwt.tests.__init__
18
20
)
You can’t perform that action at this time.
0 commit comments