Open KlavsKlavsen opened 6 years ago
It turns outinit.py is NOT included in the package-file (for diamond.utils) - diamond and diamond.handler gets it.
build output SAYS it does the right thing though - and setup ( ) in setup.py looks correct:
hard linking src/diamond/handler/__init__.py -> diamond-4.0.830/src/diamond/handler
hard linking src/diamond/utils/__init__.py -> diamond-4.0.830/src/diamond/utils
copying src/diamond/__init__.py -> /home/b56v/Diamond/build/diamond-4.0.830/./build/lib.linux-x86_64-2.7/diamond
copying src/diamond/utils/__init__.py -> /home/b56v/Diamond/build/diamond-4.0.830/./build/lib.linux-x86_64-2.7/diamond/utils
copying src/diamond/handler/__init__.py -> /home/b56v/Diamond/build/diamond-4.0.830/./build/lib.linux-x86_64-2.7/diamond/handler
however contents is missing one of the init.py.. :
$ dpkg --contents build/diamond_4.0.830_all.deb | grep init__
-rw-r--r-- root/root 15 2017-04-18 11:08 ./usr/share/pyshared/diamond/handler/__init__.py
-rw-r--r-- root/root 49 2017-04-18 11:08 ./usr/share/pyshared/diamond/__init__.py
First I got:
Then I added correct search path (as used by setup.py):
(to bin/diamond)