| 1 |
#!/usr/bin/make -f |
| 2 |
#export DH_VERBOSE = 1 |
| 3 |
|
| 4 |
export PYBUILD_NAME=monty |
| 5 |
export PYBUILD_TEST_ARGS={dir} -k 'not test_pydantic_integrations and not test_install_except_hook and not (TestCheckType and test_pandas)' |
| 6 |
|
| 7 |
|
| 8 |
%: |
| 9 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 10 |
|
| 11 |
execute_after_dh_auto_clean: |
| 12 |
rm -rf .pytest_cache .pybuild |
| 13 |
rm -rf docs/doctrees docs/html |
| 14 |
rm -rf src/monty.egg-info |
| 15 |
|
| 16 |
override_dh_auto_test: |
| 17 |
PYTHONPATH=. dh_auto_test |
| 18 |
|
| 19 |
execute_before_dh_auto_build: |
| 20 |
$(MAKE) -C docs html |