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
aa5d6729
Commit
aa5d6729
authored
Nov 01, 2006
by
Brian Sutherland
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace, formatting and spelling.
parent
ffaaccea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
16 deletions
+15
-16
README.txt
README.txt
+5
-5
zc.recipe.egg_/src/zc/recipe/egg/README.txt
zc.recipe.egg_/src/zc/recipe/egg/README.txt
+10
-11
No files found.
README.txt
View file @
aa5d6729
...
...
@@ -17,7 +17,7 @@ example, if we are creating an application named "Foo", then "the Foo
buildout" is the collection of configuration and application-specific
software that allows an instance of the application to be created. We
may refer to such an instance of the application informally as "a Foo
buildout".
buildout".
To get a feel for some of the things you might use buildouts for, see
the `Buildout examples`_.
...
...
@@ -110,7 +110,7 @@ is in the src directory. The configuration file is very simple::
I use the develop option to create a develop egg based on the current
directory. I request a test script named "test" using the
zc.recipe.testrunner recipe. In the section for the test script, I
specify that I want to run the tests in the zc.ngi package.
specify that I want to run the tests in the zc.ngi package.
When I check out this project into a new sandbox, I run bootstrap.py
to get setuptools and zc.buildout and create bin/buildout. I run
...
...
@@ -140,7 +140,7 @@ a buildout with a configuration file that looks like::
whwre foo and bar are packages with scripts that I want available. As
I need new scripts, I can add additional sections. The bin-directory
option specified that scripts should be installed into the current
directory.
directory.
Multi-program multi-machine systems
===================================
...
...
@@ -161,7 +161,7 @@ typical example consists of:
- Multiple test runners
- Multiple deployment modes, including dev, stage, and prod,
- Multiple deployment modes, including dev, stage, and prod,
with prod deployment over multiple servers
Parts installed include:
...
...
@@ -179,7 +179,7 @@ Parts installed include:
Questions and Bug Reporting
***************************
Please send questions and comments to the
Please send questions and comments to the
`distutils SIG mailing list <mailto://distutils-sig@python.org>`_.
Report bugs using the `zc.buildout Launchpad Bug Tracker
...
...
zc.recipe.egg_/src/zc/recipe/egg/README.txt
View file @
aa5d6729
...
...
@@ -5,7 +5,7 @@ The zc.recipe.egg recipe can be used to install various types if
distutils distributions as eggs. It takes a number of options:
eggs
A list of eggs to install given as one or
e
more setuptools
A list of eggs to install given as one or more setuptools
requirement strings. Each string must be given on a separate
line.
...
...
@@ -20,14 +20,14 @@ index
alternate index with this option. If you use the links option and
if the links point to the needed distributions, then the index can
be anything and will be largely ignored. In the examples, here,
we'll just point to an empty directory on our link server. This
we'll just point to an empty directory on our link server. This
will make our examples run a little bit faster.
python
The name of a section to get the Python executable from.
If not specified, then the buildout python option is used. The
Python executable is found in the executable option of the named
section.
section.
entry-points
A list of entry-point identifiers of the form name=module#attrs,
...
...
@@ -67,7 +67,7 @@ We have a link server that has a number of distributions:
We have a sample buildout. Let's update it's configuration file to
install the demo package.
install the demo package.
>>> write(sample_buildout, 'buildout.cfg',
... """
...
...
@@ -95,7 +95,7 @@ Let's run the buildout:
zc.buildout.easy_install: Got demo 0.2
zc.buildout.easy_install: Getting new distribution for demoneeded
zc.buildout.easy_install: Got demoneeded 1.1
Now, if we look at the buildout eggs directory:
>>> ls(sample_buildout, 'eggs')
...
...
@@ -105,7 +105,7 @@ Now, if we look at the buildout eggs directory:
- zc.buildout-1.0-py2.3.egg
We see that we got an egg for demo that met the requirement, as well
as the egg for demoneeded, wich demo requires. (We also see an egg
as the egg for demoneeded, w
h
ich demo requires. (We also see an egg
link for the recipe. This egg link was actually created as part of
the sample buildout setup. Normally, when using the recipe, you'll get
a regular egg installation.)
...
...
@@ -276,7 +276,7 @@ extra-paths option:
... find-links = %(server)s
... index = %(server)s/index
... scripts = demo=foo
... extra-paths =
... extra-paths =
... /foo/bar
... /spam/eggs
... """ % dict(server=link_server))
...
...
@@ -306,9 +306,8 @@ Let's look at the script that was generated:
Specifying entry points
-----------------------
Scripts can be generated for entry points declared explcitly. We can
declate entry points using the entry-points option:
Scripts can be generated for entry points declared explicitly. We can
declare entry points using the entry-points option:
>>> write(sample_buildout, 'buildout.cfg',
... """
...
...
@@ -319,7 +318,7 @@ declate entry points using the entry-points option:
... recipe = zc.recipe.egg
... find-links = %(server)s
... index = %(server)s/index
... extra-paths =
... extra-paths =
... /foo/bar
... /spam/eggs
... entry-points = alt=eggrecipedemo:alt other=foo.bar:a.b.c
...
...
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