Hey.
I hope this is not too off topic.
As far as I understand, dh-python, when building packages somehow
automatically uses the Debian package names and even prevents e.g.
setuptools from downloading any dependencies by setting a (hopefully
not running) proxy.
I wondered whether it's possible t
On Sun, Feb 12, 2023 at 9:05 AM Ian Norton wrote:
> I requested this kind of thing from the pip folks as
> https://github.com/pypa/pip/issues/11644 and others have requested
> similar, such as https://github.com/pypa/pip/issues/11607
While they wrote it would be discussed, it doesn't really seem
Hey.
On Sun, Feb 12, 2023 at 7:31 PM Donald Stufft wrote:
>
> I'm pretty sure that most if not all debian packages already ship the
> required information for pip to see them as installed, and if they are
> installed and they satisfy the dependency constraints that pip has for those
> project
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():[pr
Hey Stefano
On Wed, Feb 15, 2023 at 5:37 PM Stefano Rivera wrote:
> Just move it somewhere else later in the build? e.g. after dh_install.
I had tried that before, with a debian/mypackage.install file but got
an error that it doesn't find the file.
Then I realized that I cannot use e.g.:
usr/
On Wed, Feb 15, 2023 at 5:35 PM Stefano Rivera wrote:
> You sure it isn't doing an isolated build? Try --no-build-isolation.
I absolutely am not :D (I'm really not a Python expert... or about
it's various build systems, pip, etc.).
And that seems to have done the trick.
And it further seems that
On Wed, Feb 15, 2023 at 9:09 PM Stefano Rivera wrote:
> And our selection of Python modules is far from complete. It's not
> Debian's intent to provide a mirror of PyPI within Debian. Generally
> speaking, we package the modules that we find useful for supporting
> building and shipping other pyth
Hey.
On Fri, Feb 17, 2023 at 3:35 PM Stefano Rivera wrote:
> There is probably some value there. You're safer from a variety of
> attacks that *could* theoretically happen on PyPI.
Well such language specific package repos (like pypi, npmjs, etc.)
have already been (numerous) times been victims
Hey.
I'm already using dh_python for (Python) packages where I have a
pyproject.toml with some [project.scripts] section and use
python3-setuptools for building, which works quite nicely.
Now I do have some standalone python scripts for which it makes not
much sense to make them (Python) package
Hey Stefano.
(Thanks, also Andrey).
On Fri, Aug 16, 2024 at 9:47 AM Stefano Rivera wrote:
> > Is that even intended to work with dh_python?
>
> dh_python doesn't care what form your python package is in. It just
> looks for the metadata in .dist-info / .egg-info.
Then there must be something I
Hey again
On Fri, Aug 16, 2024 at 6:26 PM Philippe Cerfon wrote:
> Still I fail to understand, where that auto-completed my-script-file
> comes from in ptpython.
> Any ideas what I'm doing wrong?
Maybe it's not me doing something wrong.
I have:
ls -al /usr/bin/*.py
lrwxrwxr
11 matches
Mail list logo