Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Kirill Smelkov
Zope
Commits
3f0ddc3e
Commit
3f0ddc3e
authored
Dec 24, 2007
by
Andreas Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fetching current externals automatically
parent
a3623b85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
inst/generate_externals.py
inst/generate_externals.py
+6
-7
No files found.
inst/generate_externals.py
View file @
3f0ddc3e
...
...
@@ -16,19 +16,18 @@
Written by Andreas Jung, 2007
"""
# Requires some local files that contain the current
# list of externals on a per-directory basis:
#
# svn propget svn:externals lib/python/ >inst/lib_python.txt
# svn propget svn:externals lib/python/zope >inst/lib_python_zope.txt
# svn propget svn:externals lib/python/zope/app >inst/lib_python_zope_app.txt
import
sys
import
os
import
urllib2
from
ConfigParser
import
ConfigParser
,
NoOptionError
error
=
sys
.
stderr
# retrieve externals used in Zope 2
os
.
system
(
'svn propget svn:externals lib/python >lib_python.txt'
)
os
.
system
(
'svn propget svn:externals lib/python/zope >lib_python_zope.txt'
)
os
.
system
(
'svn propget svn:externals lib/python/zope/app >lib_python_zope_app.txt'
)
# download current KGS index
kgs_url
=
'http://download.zope.org/zope3.4/versions.cfg'
open
(
'kgs.ini'
,
'w'
).
write
(
urllib2
.
urlopen
(
kgs_url
).
read
())
...
...
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