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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
e402be52
Commit
e402be52
authored
Apr 26, 2024
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[doc] Show how to bootstrap an isolated buildout
parent
f0f66071
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
doc/getting-started.rst
doc/getting-started.rst
+27
-0
No files found.
doc/getting-started.rst
View file @
e402be52
...
...
@@ -102,6 +102,33 @@ specified using *parts*. The parts to be built are listed in the
name
that
specifies
the
software
to
build
the
part
and
provides
parameters
to
control
how
the
part
is
built
.
Bootstrapping
an
isolated
environment
=====================================
Sometimes
it
is
useful
to
install
``
zc
.
buildout
``
and
its
dependencies
directly
in
``
eggs
``
directory
and
to
generate
a
``
buildout
``
script
in
the
``
bin
``
directory
that
uses
the
version
in
``
eggs
``
directory
,
instead
of
relying
on
the
package
available
in
the
environment
.
One
way
to
achieve
this
uses
the
``
extra
-
paths
``
option
of
``
buildout
``
section
:
by
setting
it
to
empty
value
,
packages
outside
of
``
eggs
``
or
``
develop
-
eggs
``
directories
will
not
be
considered
when
looking
for
already
installed
eggs
.
Then
the
``
bootstrap
``
command
will
install
``
zc
.
buildout
``
and
its
dependencies
from
scratch
in
``
eggs
``.
..
code
-
block
::
console
buildout
buildout
:
extra
-
paths
=
bootstrap
After
this
,
the
generated
``
bin
/
buildout
``
script
will
use
the
packages
installed
in
``
eggs
``
directory
instead
of
those
in
the
environment
and
preserve
the
isolation
from
the
environment
,
even
without
setting
``
extra
-
paths
``.
That
is
because
the
default
value
for
``
extra
-
paths
``
only
considers
the
paths
where
``
zc
.
buildout
``
and
its
dependencies
are
found
,
and
in
this
case
that
is
only
the
``
eggs
``
directory
.
Installing
software
===================
...
...
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