Hi Timo,

On Sat, 2024-10-26 at 10:15 +0200, John Paul Adrian Glaubitz wrote:
> On Fri, 2024-10-25 at 22:19 +0200, Timo Röhling wrote:
> > I ran into this issue with old-style setuptools packages (i.e., 
> > packages with a setup.py); AFAIK the entry_points mechanism needs 
> > valid egg-info or dist-info metadata in the PYTHONPATH. My 
> > workaround was
> > 
> > 
> > export PYBUILD_BEFORE_TEST=\
> >      {interpreter} setup.py egg_info; \
> >      cp -r {dir}/src/*.egg-info {build_dir}
> > 
> > export PYBUILD_AFTER_TEST=\
> >      rm -r {dir}/src/*.egg-info {build_dir}/*.egg-info
> 
> Thanks, this is what I was looking for. I will give this a try.

I just realized that this doesn't work because kiwi doesn't have a setup.py
anymore but just uses pyproject.toml. Do you know how it works in this case?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to