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
Łukasz Nowak
slapos.buildout
Commits
00cd74f6
Commit
00cd74f6
authored
Feb 18, 2008
by
Christian Zagrodnick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whitespace
parent
34bf2103
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
zc.recipe.egg_/src/zc/recipe/egg/custom.py
zc.recipe.egg_/src/zc/recipe/egg/custom.py
+7
-5
No files found.
zc.recipe.egg_/src/zc/recipe/egg/custom.py
View file @
00cd74f6
...
...
@@ -21,6 +21,7 @@ import zc.buildout.easy_install
logger
=
logging
.
getLogger
(
__name__
)
class
Base
:
def
__init__
(
self
,
buildout
,
name
,
options
):
...
...
@@ -33,10 +34,10 @@ class Base:
self
.
build_ext
=
build_ext
(
buildout
,
options
)
def
update
(
self
):
return
self
.
install
()
class
Custom
(
Base
):
def
__init__
(
self
,
buildout
,
name
,
options
):
...
...
@@ -74,8 +75,8 @@ class Custom(Base):
distribution
=
self
.
name
else
:
logger
.
warn
(
"The eggs option is deprecated. Use egg instead"
)
distribution
=
options
.
get
(
'egg'
,
options
.
get
(
'eggs'
,
self
.
name
)
).
strip
()
return
zc
.
buildout
.
easy_install
.
build
(
...
...
@@ -83,7 +84,8 @@ class Custom(Base):
self
.
links
,
self
.
index
,
options
[
'executable'
],
[
options
[
'_e'
]],
newest
=
self
.
newest
,
)
class
Develop
(
Base
):
def
__init__
(
self
,
buildout
,
name
,
options
):
...
...
@@ -97,7 +99,7 @@ class Develop(Base):
options
[
'setup'
],
options
[
'_d'
],
self
.
build_ext
,
options
[
'executable'
],
)
def
build_ext
(
buildout
,
options
):
result
=
{}
...
...
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