Hi

Could someone help me and upstream how to get python setuptools to get
all files installed for this package?

Please see this thread and upstream bug report:

https://github.com/wolverdude/GenSON/issues/80

I work around the problem in the debian packaging like this:

export PYBUILD_BEFORE_TEST = \
        cp -rv {dir}/genson/schema {build_dir}/$(PYBUILD_NAME)

However installing these files should be done by upstream setuptools
magic somehow.  Some hint or ideally an upstream merge request to fix
this would be appreciated...

/Simon

Andrey Rakhmatullin <w...@debian.org> writes:

>> Thanks for reply!  I added that but commented out since adding it did
>> not change the pybuild behaviour.  The extra genson/schema/ files are
>> not built and installed, only the top-level genson/ directory which is
>> the case even without PYBUILD_NAME.
>
> I've rechecked and the proposed fix also included "also, note the big fat
> warnings about upstream not configuring setuptools correctly".
> As I've just checked, running `python3 -m build` in the upstream repo also
> produces a wheel without the schema subpackage.

Carsten Schoenert <c.schoen...@t-online.de> writes:

>> Why doesn't pybuild do the right thing by default?
>
> on which base pybuild could make the right decision? pybuild is doing
> what it need and should do.
>
> The missing installation of the subfolder looks to me like an upstream
> issue.
> If the folder is needed for later usage it needs to get installed by
> setuptools.

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to