install entry points in a dedicated binary package
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
Re: install entry points in a dedicated binary package
On 2024-06-05 2 h 57 a.m., PICCA Frederic-Emmanuel wrote: > with the something fonctionnaly equivalent which install the entry points only in the binoculars package. > ... > # install scripts into binoculars > python3 setup.py install_scripts -d debian/binoculars/usr/bin I'm not 100% sure I understand your question, but is something preventing you from installing the script with a debian/binoculars.install file? -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Louis-Philippe Véronneau ⢿⡄⠘⠷⠚⠋ po...@debian.org / veronneau.org ⠈⠳⣄
Re: install entry points in a dedicated binary package
> I'm not 100% sure I understand your question, but is something > preventing you from installing the script with a > debian/binoculars.install file? nothink but it seems to me (I may be wrong), that pybuild install all files directly in the python3- package Am I wrong ? I end up with the scripts in the python3- package. pybuid is clever enought to see that script should go into another package and not the default python3- Cheers
Bug#1072640: ITP: fscacher -- Python package for caching results of operations on heavy file trees
Package: wnpp Severity: wishlist Owner: Yaroslav Halchenko X-Debbugs-Cc: debian-de...@lists.debian.org, debian-python@lists.debian.org * Package name: fscacher Version : 0.4.1 Upstream Contact: Yaroslav Halchenko * URL : https://github.com/con/fscacher * License : MIT/X Programming Lang: Python Description : Python package for caching results of operations on heavy file trees fscacher is a Python module which provides a cache and decorator for memoizing functions whose outputs depend upon the contents of a file argument. . If you have a function 'foo()' that takes a file path as its first argument, and if the behavior of 'foo()' is pure in the *contents* of the path and the values of its other arguments, 'fscacher' can help cache that function. It caches the outputs of 'foo()' will be cached for each set of input arguments and for a "fingerprint" (timestamps and size) of each 'path'. If 'foo()' is called twice with the same set of arguments, the result from the first call will be reused for the second, unless the file pointed to by 'path' changes, in which case the function will be run again. -- Yaroslav O. Halchenko Center for Open Neuroscience http://centerforopenneuroscience.org Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755 WWW: http://www.linkedin.com/in/yarik signature.asc Description: PGP signature
Re: Request to join the Debian Python Team
Hi Mwadime (2024.06.04_21:28:52_+) > Hello I am Calvin Mwadime Makokha, with @CalvoM as the salsa login. > I would like to join DPT so that I would help maintain python3-inotify > that is up for adoption. Added, welcome! Stefano -- Stefano Rivera http://tumbleweed.org.za/ +1 415 683 3272