Stefano Rivera <[email protected]> writes:
> That's a test-case so the rules file isn't structured exactly the way a
> package would be, but it should explain the idea.
I did this now, it is great,
Do you have an idea about this error now
E: pybuild pybuild:480: build: plugin custom failed with: exit code=1:
E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is
not a valid main.<locals>.Step
E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is
not a valid main.<locals>.Step
E: pybuild pybuild:480: print_args: plugin custom failed with: 'print_args' is
not a valid main.<locals>.Step
It comes from an install-cctbx.sh script that I am using in order to install all
the files at the right place....
# build paths
pybuilddir=$(pybuild -s custom -p "$pyver" --print "{build_dir}")
it is called like this in the rule file (this the specific installation)
override_dh_auto_install: setup.py annlib_adaptbx ccp4io_adaptbx gui_resources
# install the cctbx python modules
dh_auto_install
# install the dxtbx python modules
PYBUILD_NAME=dxtbx dh_auto_install --sourcedirectory=dxtbx
# specific installation for the cctbx build directory
dh_auto_build -- -s custom --build-args="debian/install-cctbx.sh --
--pyver={version} --srcdir=$(CURDIR) --builddir={build_dir}_
--modules='$(MODULES)'"
Cheers
Fred