You are not logged in.

#1 2010-10-27 16:21:18

cebru
Member
Registered: 2009-06-17
Posts: 39

[SOLVED] Python package naming

I am wondering the correct way to name python library packages is. The python package contains the 3.x version, but I see that python 2.x libraries are called python-name.

Take python-sqlalchemy for example. From looking at the name I would think it a python 3.x related. It is not, however. I made my own Python3 AUR package and called it python-sqlalchemy-py3k.

Is that the correct name? Should it be python3-sqlalchemy? I'm a bit confused smile

Last edited by cebru (2010-10-28 14:55:11)

Offline

#2 2010-10-27 20:56:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,482
Website

Re: [SOLVED] Python package naming

It should be
python(3) ->  python-foo
python2 -> python2-foo

but we are in a transition and it will take some time for this to happen...

Offline

#3 2010-10-27 21:02:58

cebru
Member
Registered: 2009-06-17
Posts: 39

Re: [SOLVED] Python package naming

Thank you for clearing that up.

Offline

#4 2011-01-08 07:39:41

amrhassan
Member
From: Cairo, Egypt
Registered: 2010-12-07
Posts: 15
Website

Re: [SOLVED] Python package naming

I was just wondering why most python module packages don't even bother with the "python-" prefix.
Examples: pygtk, pytube, pygtksourceview, pympd, etc...

Offline

Board footer

Powered by FluxBB