aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources/__init__.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-01-06 09:48:30 -0500
committerJason R. Coombs <jaraco@jaraco.com>2015-01-06 09:48:30 -0500
commit32ce474415accc4ad11fdbab57f7a65176d4197b (patch)
treed3da606e17387f27b662174c4928c1e4e024a72d /pkg_resources/__init__.py
parent6fe9a6147ff850b64ffc241f65c2411f53fb34c4 (diff)
downloadexternal_python_setuptools-32ce474415accc4ad11fdbab57f7a65176d4197b.tar.gz
external_python_setuptools-32ce474415accc4ad11fdbab57f7a65176d4197b.tar.bz2
external_python_setuptools-32ce474415accc4ad11fdbab57f7a65176d4197b.zip
Restore support for printable characters in the entry point name. Fixes #327.
Diffstat (limited to 'pkg_resources/__init__.py')
-rw-r--r--pkg_resources/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources/__init__.py b/pkg_resources/__init__.py
index fd8efaa8..c0c095b2 100644
--- a/pkg_resources/__init__.py
+++ b/pkg_resources/__init__.py
@@ -2328,7 +2328,7 @@ class EntryPoint(object):
pattern = re.compile(
r'\s*'
- r'(?P<name>[+\w. -]+?)\s*'
+ r'(?P<name>.+?)\s*'
r'=\s*'
r'(?P<module>[\w.]+)\s*'
r'(:\s*(?P<attr>[\w.]+))?\s*'