Merge pull request #79 from calder/master
Support "+" in package versions.
diff --git a/rules_python/whl.py b/rules_python/whl.py
index e3544d8..3e9d4f8 100644
--- a/rules_python/whl.py
+++ b/rules_python/whl.py
@@ -46,7 +46,7 @@
# Returns the canonical name of the Bazel repository for this package.
canonical = 'pypi__{}_{}'.format(self.distribution(), self.version())
# Escape any illegal characters with underscore.
- return re.sub('[-.]', '_', canonical)
+ return re.sub('[-.+]', '_', canonical)
def _dist_info(self):
# Return the name of the dist-info directory within the .whl file.
diff --git a/tools/piptool.par b/tools/piptool.par
index b7a62c5..b105fd4 100755
--- a/tools/piptool.par
+++ b/tools/piptool.par
Binary files differ
diff --git a/tools/whltool.par b/tools/whltool.par
index 8e2f342..cab1f7d 100755
--- a/tools/whltool.par
+++ b/tools/whltool.par
Binary files differ