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
Jérome Perrin
slapos.buildout
Commits
cff70b8d
Commit
cff70b8d
authored
Nov 11, 2008
by
Ignas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Expand shell patterns when processing the list of paths in `develop`, e.g:
[buildout] develop = ./local-checkouts/*
parent
85547fe5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
CHANGES.txt
CHANGES.txt
+5
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+8
-3
No files found.
CHANGES.txt
View file @
cff70b8d
...
@@ -7,6 +7,11 @@ Change History
...
@@ -7,6 +7,11 @@ Change History
1.1.2 (Unreleased)
1.1.2 (Unreleased)
==================
==================
- Expand shell patterns when processing the list of paths in `develop`, e.g::
[buildout]
develop = ./local-checkouts/*
- Conditionally import and use hashlib.md5 when it's available instead
- Conditionally import and use hashlib.md5 when it's available instead
of md5 module, which is deprecated in Python 2.6.
of md5 module, which is deprecated in Python 2.6.
...
...
src/zc/buildout/buildout.py
View file @
cff70b8d
...
@@ -28,6 +28,7 @@ import tempfile
...
@@ -28,6 +28,7 @@ import tempfile
import
urllib2
import
urllib2
import
ConfigParser
import
ConfigParser
import
UserDict
import
UserDict
import
glob
import
pkg_resources
import
pkg_resources
import
zc.buildout
import
zc.buildout
...
@@ -561,9 +562,13 @@ class Buildout(UserDict.DictMixin):
...
@@ -561,9 +562,13 @@ class Buildout(UserDict.DictMixin):
try
:
try
:
for
setup
in
develop
.
split
():
for
setup
in
develop
.
split
():
setup
=
self
.
_buildout_path
(
setup
)
setup
=
self
.
_buildout_path
(
setup
)
self
.
_logger
.
info
(
"Develop: %r"
,
setup
)
files
=
glob
.
glob
(
setup
)
__doing__
=
'Processing develop directory %r.'
,
setup
if
not
files
:
zc
.
buildout
.
easy_install
.
develop
(
setup
,
dest
)
self
.
_logger
.
warn
(
"Couldn't develop %r (not found)"
,
setup
)
for
setup
in
files
:
self
.
_logger
.
info
(
"Develop: %r"
,
setup
)
__doing__
=
'Processing develop directory %r.'
,
setup
zc
.
buildout
.
easy_install
.
develop
(
setup
,
dest
)
except
:
except
:
# if we had an error, we need to roll back changes, by
# if we had an error, we need to roll back changes, by
# removing any files we created.
# removing any files we created.
...
...
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