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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
e268199c
Commit
e268199c
authored
Sep 24, 2009
by
Gary Poster
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
PEP 8: two blank lines before classes
parent
8827672f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+5
-0
No files found.
src/zc/buildout/easy_install.py
View file @
e268199c
...
@@ -67,6 +67,7 @@ buildout_and_setuptools_path = [
...
@@ -67,6 +67,7 @@ buildout_and_setuptools_path = [
pkg_resources
.
Requirement
.
parse
(
'zc.buildout'
)).
location
,
pkg_resources
.
Requirement
.
parse
(
'zc.buildout'
)).
location
,
]
]
class
IncompatibleVersionError
(
zc
.
buildout
.
UserError
):
class
IncompatibleVersionError
(
zc
.
buildout
.
UserError
):
"""A specified version is incompatible with a given requirement.
"""A specified version is incompatible with a given requirement.
"""
"""
...
@@ -95,6 +96,7 @@ def _get_version(executable):
...
@@ -95,6 +96,7 @@ def _get_version(executable):
FILE_SCHEME = re.compile('
file
:
//
', re.I).match
FILE_SCHEME = re.compile('
file
:
//
', re.I).match
class AllowHostsPackageIndex(setuptools.package_index.PackageIndex):
class AllowHostsPackageIndex(setuptools.package_index.PackageIndex):
"""Will allow urls that are local to the system.
"""Will allow urls that are local to the system.
...
@@ -139,6 +141,7 @@ _easy_install_cmd = _safe_arg(
...
@@ -139,6 +141,7 @@ _easy_install_cmd = _safe_arg(
'
from
setuptools.command.easy_install
import
main
;
main
()
'
'
from
setuptools.command.easy_install
import
main
;
main
()
'
)
)
class Installer:
class Installer:
_versions = {}
_versions = {}
...
@@ -1164,6 +1167,7 @@ sys.argv[0] = %(setup)r
...
@@ -1164,6 +1167,7 @@ sys.argv[0] = %(setup)r
execfile(%(setup)r)
execfile(%(setup)r)
"""
"""
class
VersionConflict
(
zc
.
buildout
.
UserError
):
class
VersionConflict
(
zc
.
buildout
.
UserError
):
def
__init__
(
self
,
err
,
ws
):
def
__init__
(
self
,
err
,
ws
):
...
@@ -1181,6 +1185,7 @@ class VersionConflict(zc.buildout.UserError):
...
@@ -1181,6 +1185,7 @@ class VersionConflict(zc.buildout.UserError):
result
.
append
(
"but %s requires %r."
%
(
dist
,
str
(
req
)))
result
.
append
(
"but %s requires %r."
%
(
dist
,
str
(
req
)))
return
'
\
n
'
.
join
(
result
)
return
'
\
n
'
.
join
(
result
)
class
MissingDistribution
(
zc
.
buildout
.
UserError
):
class
MissingDistribution
(
zc
.
buildout
.
UserError
):
def
__init__
(
self
,
req
,
ws
):
def
__init__
(
self
,
req
,
ws
):
...
...
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