-
Notifications
You must be signed in to change notification settings - Fork 26
/
makezip.bat
executable file
·20 lines (14 loc) · 1008 Bytes
/
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="https://github.com/niftools/pyffi" --navlink=" <a class=\"navbar\" target=\"_top\" href=\"https://github.com/niftools/pyffi\">Python File Format Interface</a> </th><th class=\"navbar\" align=\"center\"> " --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%"