Skip to content

Commit

Permalink
Fix test failure on Windows
Browse files Browse the repository at this point in the history
I confess to having no idea whether the code will work correctly; my
only know test case (https://github.com/hynek/argon2_cffi) fails to
build on Windows[*] so I cannot run check-manifest on it.

[*] setup.py sdist fails due to some path being of the form
    "c:\\path\\_ffi_build.py:ffi" instead of "path/build.py:ffi_variable"
  • Loading branch information
mgedmin committed Dec 9, 2015
1 parent 90fd5ef commit 1641bdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion check_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import fnmatch
import locale
import os
import posixpath
import re
import shutil
import subprocess
Expand Down Expand Up @@ -270,7 +271,7 @@ def add_prefix_to_each(prefix, filelist):
['foo/bar/a', 'foo/bar/b', 'foo/bar/c/d']
"""
return [os.path.join(prefix, name) for name in filelist]
return [posixpath.join(prefix, name) for name in filelist]


class VCS(object):
Expand Down

0 comments on commit 1641bdb

Please sign in to comment.