New submission from F. Eugene Aumson <feaum...@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. ---------- components: Distutils files: package_data_symlink_bug.zip messages: 331778 nosy: F. Eugene Aumson, dstufft, eric.araujo priority: normal severity: normal status: open 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 <rep...@bugs.python.org> <https://bugs.python.org/issue35487> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com