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
f2bd1273
Commit
f2bd1273
authored
Aug 14, 2008
by
Chris Withers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change "finding distributions" docs to correctly describe index and find-links behaviour
parent
2bec4fbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
12 deletions
+19
-12
src/zc/buildout/buildout.txt
src/zc/buildout/buildout.txt
+19
-12
No files found.
src/zc/buildout/buildout.txt
View file @
f2bd1273
...
@@ -2222,11 +2222,24 @@ Finding distributions
...
@@ -2222,11 +2222,24 @@ Finding distributions
---------------------
---------------------
By default, buildout searches the Python Package Index when looking
By default, buildout searches the Python Package Index when looking
for distributions. The `find-links` options allows the addition of
for distributions. You can, instead, specify your own index to search
more locations to search and is used extensively in this
using the `index` option::
documentation.
These can be urls::
[buildout]
...
index = http://index.example.com/
This index, or the default of http://pypi.python.org/simple/ if no
index is specified, will always be searched for distributions unless
running buildout with options that prevent searching for
distributions. The latest version of the distribution that meets the
requirements of the buildout will always be used.
You can also specify more locations to search for distributions using
the `find-links` option. All locations specified will be searched for
distributions along with the package index as described before.
Locations can be urls::
[buildout]
[buildout]
...
...
...
@@ -2238,13 +2251,13 @@ They can also be directories on disk::
...
@@ -2238,13 +2251,13 @@ They can also be directories on disk::
...
...
find-links = /some/path
find-links = /some/path
Finally,
direct paths to distributions can be specified
::
Finally,
they can also be direct paths to distributions
::
[buildout]
[buildout]
...
...
find-links = /some/path/someegg-1.0.0-py2.3.egg
find-links = /some/path/someegg-1.0.0-py2.3.egg
You can also specify more than one place to look::
Any number of locations can be specified in the `find-links` option::
[buildout]
[buildout]
...
...
...
@@ -2253,12 +2266,6 @@ You can also specify more than one place to look::
...
@@ -2253,12 +2266,6 @@ You can also specify more than one place to look::
/some/otherpath
/some/otherpath
/some/path/someegg-1.0.0-py2.3.egg
/some/path/someegg-1.0.0-py2.3.egg
In this case, distribution sources are searched in the order
specified. In the event that a distribution cannot be found in any of
the locations specified, the python package index will still be
searched unless other buildout configuration options have prevented
this.
Dependency links
Dependency links
----------------
----------------
...
...
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