[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

can one change the path of generated entry point console_scripts



Hey.

When I use dh-python to build a package that contains a pyproject.toml
and uses python3-setuptools for building like e.g. described here
https://setuptools.pypa.io/en/latest/userguide/entry_point.html

and I use that entry point feature to have a script auto-generated
that calls my main():[project.scripts]
somescript = "package:main"

is it possible to change the path were that script is finally put it
the package (i.e. not ./usr/bin/)?

I tried to look it up in other Debian source packages, but all that I
checked and which contain Python scripts in non-/usr/bin locations
simply put a real file there, and not such a auto-generated one.


Thanks,
Philippe.


Reply to: