Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15900
| From | PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | install entry points in a dedicated binary package |
| Date | 2024-06-05 09:20 +0200 |
| Message-ID | <ILT69-LiS-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello,
I am modernizing the binoculars package. I switch it to pyproject.toml and now I need to update the packaging.
I would like your advices in order to replace this d/rules
---
export DH_VERBOSE=1
export PYBUILD_NAME=binoculars
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/
%:
dh $@ --with python3,sphinxdoc --buildsystem=pybuild
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args='{interpreter} -m unittest discover -s tests -t {dir} -v'
override_dh_install:
dh_numpy3
dh_install
# install scripts into binoculars
python3 setup.py install_scripts -d debian/binoculars/usr/bin
override_dh_sphinxdoc:
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml doc/source build/html # HTML generator
dh_installdocs -p binoculars-doc "build/html"
dh_sphinxdoc -O--buildsystem=pybuild
endif
---
with the something fonctionnaly equivalent which install the entry points only in the binoculars package.
replace this combination
export PYBUILD_AFTER_INSTALL=rm -rf {destdir}/usr/bin/
...
# install scripts into binoculars
python3 setup.py install_scripts -d debian/binoculars/usr/bin
With
???
thanks for your help
Frederic
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
install entry points in a dedicated binary package PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-06-05 09:20 +0200
Re: install entry points in a dedicated binary package Louis-Philippe Véronneau <louis-philippe@veronneau.org> - 2024-06-05 17:00 +0200
Re: install entry points in a dedicated binary package PICCA Frederic-Emmanuel <frederic-emmanuel.picca@synchrotron-soleil.fr> - 2024-06-05 17:10 +0200
csiph-web