pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/python

On Wed, 12 Jan 2022 09:39:06 +0100
Adam <> wrote:

> > Module Name:        pkgsrc
> > Committed By:       nros
> > Date:               Tue Jan 11 21:37:06 UTC 2022
> > 
> > Added Files:
> >     pkgsrc/lang/python:
> > 
> > Log Message:
> > Add lang/python/ to support python packages using
> > pep517(pyproject.toml)
> > 
> > support using pep517 and pep518 style building in python packages.
> I am not in favour of this change. It introduces another level of
> complexity. Also .pyo are not installed.
> Has this been discussed?
> Please, revert.
> Kind regards,
> Adam

Hi Adam.
The reason for adding this from my 
side is that as I understand it this
is the way that python software is
suppose to be installed according to
the standards provided by the python
foundation. pep517 and pep518 are
more than 6 years old.
The idea I have is that the package
should build depend on its python
build backend (py-flit_core is one
such a backend) and include
This should make it just work.
To me it seems that the people behind
setuptools even recommend this way of
doing it. [1]
I don't want to revert the addition of but I can revert the commits
that make use of it (py-tomli,
py-tomli_w and py-flit_core) if you 
want that.
Concerning the .pyo files:
they have been made deprecated since
2015. See pep488.



Home | Main Index | Thread Index | Old Index