Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos.buildout
Commits
1acf140b
Commit
1acf140b
authored
Mar 13, 2008
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made easy_install.py's _get_version except non final releases of Python, like 2.4.4c0. (hannosch)
parent
bf1b5d1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CHANGES.txt
CHANGES.txt
+3
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+1
-1
No files found.
CHANGES.txt
View file @
1acf140b
...
...
@@ -7,6 +7,9 @@ Change History
1.0.1 (unreleased)
==================
- Made easy_install.py's _get_version except non final releases of Python,
like 2.4.4c0. (hannosch)
- applied patch fixing rmtree issues on Windows (patch by
Gottfried Ganssauge) (ajung)
...
...
src/zc/buildout/easy_install.py
View file @
1acf140b
...
...
@@ -67,7 +67,7 @@ def _get_version(executable):
o
.
close
()
pystring
,
version
=
version
.
split
()
assert
pystring
==
'Python'
version
=
re
.
match
(
'(
\
d[.]
\
d)([.]
\
d)?$
'
, version).group(1)
version
=
re
.
match
(
'(
\
d[.]
\
d)([.]
.*
\
d)?$
'
, version).group(1)
_versions[executable] = version
return version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment