Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #12997
| From | Simon McVittie <smcv@debian.org> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? |
| Date | 2020-11-01 19:40 +0100 |
| Message-ID | <B6qqK-1Cc-9@gated-at.bofh.it> (permalink) |
| References | <B6puF-13o-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, 01 Nov 2020 at 19:36:52 +0200, Otto Kekäläinen wrote:
> I am currently reviewing the Debian packaging at
> https://salsa.debian.org/python-team/packages/python-jsonrpc-server of
> the upstream project https://github.com/palantir/python-jsonrpc-server
>
> Upstream uses 'python-jsonrpc-server' as the repository and also the
> pip package name. Should we follow that in Debian or perhaps use the
> alternative name 'python3-pyls-jsonrpc'?
>
> Is there some existing naming convention/policy about Python modules
> of this sort?
When you say "follow that", do you mean for the Debian source package
name (.dsc, like dbus-python), or for the Debian binary package name
(.deb, like python3-dbus)?
The binary package name should be mechanically derived from what you
import. If you 'import pyls_jsonrpc', then python3-pyls-jsonrpc is right.
If you 'import pyls.jsonrpc', then python3-pyls.jsonrpc, and so on.
The source package name is less important, and could either resemble the
binary package name or match what upstream calls it.
smcv
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? Otto Kekäläinen <otto@debian.org> - 2020-11-01 18:40 +0100
Re: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? Jochen Sprickerhof <jspricke@debian.org> - 2020-11-01 19:00 +0100
Re: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? Simon McVittie <smcv@debian.org> - 2020-11-01 19:40 +0100
Re: Package naming advice: python3-pyls-jsonrpc or python3-jsonrpc-server? Otto Kekäläinen <otto@seravo.fi> - 2020-11-01 20:10 +0100
csiph-web