~ubuntu-branches/ubuntu/saucy/jpylyzer/saucy

« back to all changes in this revision

Viewing changes to buildWin32.bat

  • Committer: Package Import Robot
  • Author(s): Mathieu Malaterre
  • Date: 2013-04-25 09:52:52 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130425095252-2gphc913cwlu4c4j
Tags: 1.9.0-1
* New upstream: improve interoperability between Python 2.7 and Python 3
* Add -doc package for documentation 

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
::::::::: BUILD :::::::::::::::::: 
44
44
 
45
45
:: Make spec file
46
 
%python% %pathPyInstaller%\MakeSpec.py %scriptBaseName%.py
47
 
 
48
 
:: Build binaries
49
 
%python% %pathPyInstaller%\build.py %scriptBaseName%.spec
 
46
::%python% %pathPyInstaller%\MakeSpec.py %scriptBaseName%.py
 
47
 
 
48
:: Build binaries
 
49
::%python% %pathPyInstaller%\build.py %scriptBaseName%.spec
 
50
 
 
51
:: Build binaries
 
52
%python% %pathPyInstaller%\pyinstaller.py %scriptBaseName%.py
 
53
 
50
54
 
51
55
:: Create examples file dir in dist directory
52
56
md .\dist\%scriptBaseName%\example_files
69
73
:: Delete dist directory that was created by PyInstaller
70
74
::rmdir dist /S /Q
71
75
 
72
 
md win32
 
76
md downloads
73
77
 
74
 
:: Move ZIP file to win32 directory
75
 
move /Y %zipName% .\win32\
 
78
:: Move ZIP file to downloads directory
 
79
move /Y %zipName% .\downloads\
76
80
 
77
81
::::::::: CLEANUP ::::::::::::::::: 
78
82
 
83
87
rmdir dist /S /Q
84
88
 
85
89
:: Rename Win32 directory to dist
86
 
ren win32 dist
 
90
::ren win32 dist
87
91
 
88
92
:: Delete spec file
89
 
del %scriptBaseName%.spec
 
93
::del %scriptBaseName%.spec
90
94
 
91
95
echo /
92
 
echo Done! Created %zipName% in directory .\dist\!
 
96
echo Done! Created %zipName% in directory .\downloads\!
93
97
echo / 
94
98