Re: Installing data files with pybuild

2021-12-01 Thread Stefano Rivera
Hi Julian (2021.12.01_21:47:38_+) > I don't understand why the files are not correctly installed by > setup.py; it has set include_package_data=True, which includes the > files (and file patterns) listed in MANIFEST.in, but it seems that > this is only used for the bdist and sdist targets of se

Re: Installing data files with pybuild

2021-12-01 Thread Julian Gilbey
On Wed, Dec 01, 2021 at 01:32:38PM -0500, Louis-Philippe Véronneau wrote: > On 2021-12-01 12 h 28, Andrey Rahmatullin wrote: > > > >> Only the .py files are currently included in the build; what is the > >> best way to include all of the data files after the build step and > >> before the test ste

Re: Installing data files with pybuild

2021-12-01 Thread Louis-Philippe Véronneau
On 2021-12-01 12 h 28, Andrey Rahmatullin wrote: > >> Only the .py files are currently included in the build; what is the >> best way to include all of the data files after the build step and >> before the test step, and then to ensure they are included in the >> final package? > Apart from fixing

Re: Installing data files with pybuild

2021-12-01 Thread Andrey Rahmatullin
On Wed, Dec 01, 2021 at 04:57:44PM +, Julian Gilbey wrote: > Hello! > > pybuild is magic. It knows where the build directory is, despite it > seemingly calling setup.py with no command line arguments specifying > it! > > But anyway, my actual question is this. How do I ensure that the data

Installing data files with pybuild

2021-12-01 Thread Julian Gilbey
Hello! pybuild is magic. It knows where the build directory is, despite it seemingly calling setup.py with no command line arguments specifying it! But anyway, my actual question is this. How do I ensure that the data files are also copied into the package? My package has a source tree that lo