spotify / dh-virtualenv

Python virtualenvs in Debian packages

Home Page:http://dh-virtualenv.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Why skip package that start with python3?

CommunityX opened this issue · comments

Debian and ubuntu use it for example
python-requests and python3-requests

Currently in debhelper package that start with python3 are skipped. Is this cause dh-virtualenv doesn't support python3 building at its core ? cause it does with the --python argument.

Hi,

I’m not entirely sure what you refer to with skipping packages that start with python3. However I can answer the question about package naming.

In Debian packages naming convention of python-* is used for Python libraries that will be installed system wide, usually somewhere under /usr/lib. Dh-virtualenv does not create reusable Python libraries but rather installations of a whole application. In that light it does not make sense to name packages produced with it with the python- prefix.

im refering to those 2 lines

if binary_package.startswith('python3'):

if binary_package.startswith('python3'):

ok it actually make sence that we dont realy require the python prefix.