diff options
| author | PJ Eby <distutils-sig@python.org> | 2006-09-25 18:00:15 +0000 |
|---|---|---|
| committer | PJ Eby <distutils-sig@python.org> | 2006-09-25 18:00:15 +0000 |
| commit | 168a7c6e19e8820a1e1dcfdfcbef206efa8082d8 (patch) | |
| tree | 780ed5ab7d947b7f8c32c740f7c975a453c055cc /pkg_resources.py | |
| parent | ae347c1ed3e39fb2c00b8b9fc8aedcf507313c20 (diff) | |
| download | python-setuptools-git-168a7c6e19e8820a1e1dcfdfcbef206efa8082d8.tar.gz | |
Fix "dev" versions being considered newer than release candidates.
(backport from trunk)
--HG--
branch : setuptools-0.6
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4052002
Diffstat (limited to 'pkg_resources.py')
| -rw-r--r-- | pkg_resources.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg_resources.py b/pkg_resources.py index b4b92e87..ad28b79f 100644 --- a/pkg_resources.py +++ b/pkg_resources.py @@ -1747,7 +1747,7 @@ EGG_NAME = re.compile( ).match component_re = re.compile(r'(\d+ | [a-z]+ | \.| -)', re.VERBOSE) -replace = {'pre':'c', 'preview':'c','-':'final-','rc':'c'}.get +replace = {'pre':'c', 'preview':'c','-':'final-','rc':'c','dev':'@'}.get def _parse_version_parts(s): for part in component_re.split(s): |
