[New-bugs-announce] [issue35487] setup()'s package_data not following directory symlink
F. Eugene Aumson
report at bugs.python.org
Thu Dec 13 22:43:32 EST 2018
New submission from F. Eugene Aumson <feaumson at gmail.com>:
I have a package using setup.py. I want the package to include some data files, which are located in my source directory. Building my package in my 3.7.0 environment includes the data files as expected. Building the same exact package in my 3.7.1 environment does NOT include the data files.
Attached are two logs demonstrating the `pip install` output. Both were produced with this command: `pip uninstall 0x-json-schemas --yes >pip.log && pip install .[dev] --verbose --verbose --verbose >> pip.log`
Also attached is my setup.py script.
Also worth noting is that the directory that contains my data files (src/zero_ex/json_schemas/schemas) is a symlink, which I've verified is resolving properly in both environments. And, when I replace the symlink with a real folder, containing the same files, then everything works as expected. So I surmise that the following of symlinks is what's broken here.
nosy: F. Eugene Aumson, dstufft, eric.araujo
title: setup()'s package_data not following directory symlink
versions: Python 3.7
Added file: https://bugs.python.org/file47995/package_data_symlink_bug.zip
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce