[Simple-cdd-devel] Modules and packaging

Vagrant Cascadian vagrant at debian.org
Wed Feb 18 17:07:32 UTC 2015


On 2015-02-18, Enrico Zini wrote:
> On Thu, Jan 29, 2015 at 02:40:39PM -0800, Vagrant Cascadian wrote:
>> So, one thing remains, which is kind of minor, but the python module
>> name is "simplecdd" and the package name is "python3-simplecdd", but the
>> package has been called "simple-cdd" for ages, and it would be nice, if
>> there aren't some technical limitations, to consistantly use
>> "simple-cdd".
>
> The python policy says[1] that the package name must be
> python3-$modulename where $modulename is whatever is passed to import to
> use the module.
>
> Unfortunately we cannot call the module simple-cdd because the dash
> isn't accepted in a module name: foo-bar is an algebraic expression for
> python.
>
> Alternatively, we can call the module simple_cdd, then the package name
> would be python3-simple-cdd. How does that sound?

That sounds good enough, given the various limitations.

live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/simple-cdd-devel/attachments/20150218/61e17cfc/attachment.sig>


More information about the Simple-cdd-devel mailing list