Commit 1af7bb3f by Sébastien Eustace

Fix package_data paths for Windows

parent f0948384
...@@ -252,7 +252,7 @@ class SdistBuilder(Builder): ...@@ -252,7 +252,7 @@ class SdistBuilder(Builder):
return pkg, "/".join(parts[i:]) return pkg, "/".join(parts[i:])
# Relative to the top-level package # Relative to the top-level package
return pkg_name, rel_path return pkg_name, Path(rel_path).as_posix()
excluded_files = self.find_excluded_files() excluded_files = self.find_excluded_files()
for path, dirnames, filenames in os.walk(str(base), topdown=True): for path, dirnames, filenames in os.walk(str(base), topdown=True):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment