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
6dbc39cb
Commit
6dbc39cb
authored
Aug 20, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the default index to
http://cheeseshop.python.org/simple
.
parent
33dcf8ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
CHANGES.txt
CHANGES.txt
+8
-0
src/zc/buildout/easy_install.py
src/zc/buildout/easy_install.py
+7
-9
No files found.
CHANGES.txt
View file @
6dbc39cb
...
@@ -31,6 +31,14 @@ Feature Changes
...
@@ -31,6 +31,14 @@ Feature Changes
To prefer newer versions, regardless of whether or not they are
To prefer newer versions, regardless of whether or not they are
final, buildout-wide.
final, buildout-wide.
- The new simple Python index, http://cheeseshop.python.org/simple, is
used as the default index. This will provide better performance
than the human package index interface,
http://pypi.python.org/pypi. More importantly, it lists hidden
distributions, so buildouts with fixed distribution versions will be
able to find old distributions even if the distributions have been
hidden in the human PyPI interface.
Bugs Fixed
Bugs Fixed
----------
----------
...
...
src/zc/buildout/easy_install.py
View file @
6dbc39cb
...
@@ -36,7 +36,10 @@ try:
...
@@ -36,7 +36,10 @@ try:
except
AttributeError
:
except
AttributeError
:
pass
pass
default_index_url
=
os
.
environ
.
get
(
'buildout-testing-index-url'
)
default_index_url
=
os
.
environ
.
get
(
'buildout-testing-index-url'
,
'http://cheeseshop.python.org/simple'
,
)
logger
=
logging
.
getLogger
(
'zc.buildout.easy_install'
)
logger
=
logging
.
getLogger
(
'zc.buildout.easy_install'
)
...
@@ -82,14 +85,9 @@ def _get_index(executable, index_url, find_links):
...
@@ -82,14 +85,9 @@ def _get_index(executable, index_url, find_links):
if index_url is None:
if index_url is None:
index_url = default_index_url
index_url = default_index_url
if index_url is None:
index = setuptools.package_index.PackageIndex(
index = setuptools.package_index.PackageIndex(
index_url, python=_get_version(executable)
python=_get_version(executable)
)
)
else:
index = setuptools.package_index.PackageIndex(
index_url, python=_get_version(executable)
)
if find_links:
if find_links:
index.add_find_links(find_links)
index.add_find_links(find_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