Commit 3f0ddc3e authored by Andreas Jung's avatar Andreas Jung

fetching current externals automatically

parent a3623b85
......@@ -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())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment