forked from neomonkeus/pyffi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makezip.bat
executable file
·20 lines (14 loc) · 1.2 KB
/
makezip.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@echo off
rem clean working copy
git clean -x -d -f
rem generate documentation
del docs\*.*
rem cd docs-sphinx
rem %PYTHONPATH%\python.exe %PYTHONPATH%\Scripts\epydoc.py -v --output=..\docs --name="Python File Format Interface" --url="http://pyffi.sourceforge.net/" --navlink=" <a class=\"navbar\" target=\"_top\" href=\"http://pyffi.sourceforge.net/\">Python File Format Interface</a> </th><th class=\"navbar\" align=\"center\"> <a class=\"navbar\" target=\"_top\" href=\"http://sourceforge.net\"><img src=\"http://sflogo.sourceforge.net/sflogo.php?group_id=199269\" width=\"88\" height=\"31\" border=\"0\" alt=\"SourceForge.net Logo\" /></a> " --docformat="restructuredtext" --top=pyffi pyffi
rem cd ..
mkdir docs
echo "PyFFI test release - documentation not included" > docs\index.html
rem create source and binary distributions
del MANIFEST
python setup.py -q sdist --format=zip
python setup.py --command-packages bdist_nsi bdist_nsi --bitmap=win-install/pyffi_install_164x314.bmp --headerbitmap=win-install/pyffi_install_150x57.bmp --msvc2008sp1 --nshextra=win-install/pyffi.nsh --target-versions=3.0,3.1,3.2,3.3 --productkey=py3k --nsis="%NSISHOME%"