python packaging

Elan Ruusamäe glen at pld-linux.org
Mon Jun 20 21:27:44 CEST 2016


On 20.06.2016 22:06, Jakub Bogusz wrote:
> On Mon, Jun 20, 2016 at 04:11:41PM +0200, Jacek Konieczny wrote:
>> On 2016-06-20 14:58, Elan Ruusamäe wrote:
>>> so, what way we should do the package naming?
>>>
>>> 1. egg name
>> That probably makes most sense today.
>>
>>> 2. python module name [*]
>> That was decided before python eggs started being a thing. And that is
>> how most of our packages are named now.
> Also, some packages contain more than one module without own namespace,
> thus making using import name for whole package impossible.
but egg name or pypi name?

i would prefer pypi name, because most docs say install from pypi:

$ pip install foothing

and then can just type instead:
$ poldek -u python-foothing

-- 
glen



More information about the pld-devel-en mailing list