Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
bdist gives cant copy error for package_data file which exists #341
Originally reported by: rogermarsh (Bitbucket: rogermarsh, GitHub: Unknown)
python setup.py bdist gives:
error: can't copy 'icence.txt': doesn't exist or not a regular file
where current directory is swiggedapi and licence.txt exists in this directory.
The package related arguments to setup() are:
Although I have included a patch to avoid the off-by-one error (truncation of the first character of the filenames), the issue was encountered by the empty string in the key of package_data. According to the docs, "the value must be a mapping from package name to a list of relative path names that should be copied into the package." I suspect that the empty string isn't a valid package name.