PMXBOT Log file Viewer

Help | Karma | Search:

#pypa logs for Friday the 15th of July, 2016

(Back to #pypa overview) (Back to channel listing) (Animate logs)
[21:53:13] <nicksloan> My project has a data/ directory and a MANIFEST.in (containing "graft data/") in the project root, one level up from the top package, and my setup call has include_package_data = True. I'm using pkg_resources.resource_filename(Requirement('MyPackage'), 'data/subdirectory') to get the path to the file. I did python setup.py bdist_wheel to build a wheel for distribution to my servers, but the data appears to not be installed. Furthermore,
[21:53:14] <nicksloan> resource_filename worked locally just fine, but on my servers it is pointing to /srv/venvs/somevenv/lib/python-2.7/site-packages/data/subdirectory, which seems like a strange place for it to point to