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

Re: Installing data files with pybuild



Hi Julian (2021.12.01_21:47:38_+0000)
> 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 setup.py, but not
> for the install target.

Correct, the package_data key needs to be set in setup.py / cfg to
install data in bdist_wheels and install:
https://setuptools.pypa.io/en/latest/userguide/datafiles.html

I would suggest forwarding a patch upstream that does that.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  +1 415 683 3272


Reply to: