1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
#export DEB_BUILD_OPTIONS=nocheck
export PYBUILD_NAME=deap
export LC_ALL=C.UTF-8
%:
dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_install:
dh_auto_install
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc debian/deap-doc/usr/share/doc/deap-doc/html
rdfind -outputname /dev/null -makesymlinks true debian/deap-doc
symlinks -r -s -c debian/deap-doc
override_dh_installdocs:
pandoc -f markdown -t plain -o .pybuild/README README.md
dh_installdocs -A .pybuild/README
override_dh_compress:
dh_compress -X.py -X.json -X.csv -X.cpp # save examples
|