| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
export PYBUILD_NAME = pangolearn |
| 6 |
|
| 7 |
%: |
| 8 |
dh $@ --with python3 --buildsystem=pybuild |
| 9 |
|
| 10 |
override_dh_install: |
| 11 |
dh_install |
| 12 |
rm -rf debian/python3-$(PYBUILD_NAME)/usr/bin |
| 13 |
|
| 14 |
override_dh_python3: |
| 15 |
dh_python3 |
| 16 |
|
| 17 |
mkdir -p debian/python3-$(PYBUILD_NAME)/usr/share/python3-$(PYBUILD_NAME) |
| 18 |
mv debian/python3-$(PYBUILD_NAME)/usr/lib/python3/dist-packages/pangoLEARN/data debian/python3-$(PYBUILD_NAME)/usr/share/python3-$(PYBUILD_NAME) |
| 19 |
dh_link /usr/share/python3-$(PYBUILD_NAME)/data /usr/lib/python3/dist-packages/pangoLEARN/data |
| 20 |
|
| 21 |
INSTALLDIR = $(CURDIR)/debian/python3-pangolearn |
| 22 |
DATADIR = $(INSTALLDIR)/usr/share/python3-pangolearn/data |
| 23 |
execute_after_dh_fixperms: |
| 24 |
chmod -v -x $(DATADIR)/decisionTree_recall_report.csv |
| 25 |
chmod -v -x $(DATADIR)/randomForest_recall_report.csv |