On 09/12/24 19:17, bijan SayyafZadeh wrote:
> Absolutely Stefan,
>
> I have a package with multiple subpackages (each subpackage is in a
> subfolder of the main package). When I want to compile it and publish
> it, I just want to publish compiled files (I mean that only *.pyd files)
> but the problem is that all *.pyd files are generated beside my python
> files in all subpackages directories and managing them is time-consuming.
In your previous message you wanted to avoid the intermediate C source
code files. Here you mention "Python files". I imagine you refer to the
source code of your Cython extension modules.
I think no Python package build backend includes intermediate C source
code in the Python wheel. If you use Cython pure Python mode, I imagine
that some Python package build backends may be confused and install
these alongside the extension modules.
Which Python package build backend do you use?
Cheers,
Dan