Get tests working on Windows, fix issue #11 #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is another attempt at fixing #11 (replacing #12) that should also work for Linux builds.
cd635a9 and 502e3ad fix two issues that were preventing
bin/test
from working on Windows.1f51489 is TDD - changes the case of the
demo
sample wheel toDemo
so that issue #11 manifests when the tests are run on Windows, so we can test any fix.343ce30 contains the actual fix. Here we avoid the problem by monkey patching
setuptools
(again - it was already done for other reasons). We now avoid the call topkg_resources.normalize_path
because on Windows that was lowercasing the path, which makes sense for comparison reasons if we are indeed comparing paths and they can come from different sources with different ideas of the cases used, but not if we're going to later use that path to extract important and case-sensitive information.