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
Boxiang Sun
slapos.buildout
Commits
fce3e60e
Commit
fce3e60e
authored
Jun 07, 2016
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed underline
parent
da72cc87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/zc/buildout/buildout.txt
src/zc/buildout/buildout.txt
+7
-6
No files found.
src/zc/buildout/buildout.txt
View file @
fce3e60e
...
...
@@ -1135,7 +1135,8 @@ macros. In particular, the variable substitutions are performed
relative to the myfiles section.
Extending sections (macros) - Adding and removing options
----------------------------------------------------
---------------------------------------------------------
We can also add and remove options in extended sections.
This is illustrated below; first we define a base configuration.
...
...
@@ -1147,12 +1148,12 @@ This is illustrated below; first we define a base configuration.
...
... [part1]
... recipe =
... option = a1
... a2
...
... option = a1
... a2
...
... [part2]
... <= part1
... option -= a1
... option -= a1
... option += c3 c4
...
... [part3]
...
...
@@ -1198,7 +1199,7 @@ Set up a buildout configuration for this extension.
>>> print_(system(os.path.join(sample_buildout, 'bin', 'buildout')), end='') # doctest: +ELLIPSIS
Develop: '/sample-buildout/demo'
....
Verify option values.
>>> write(sample_buildout, 'buildout.cfg',
...
...
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