[svn r38598] fixing download url and fix makepyrelease script

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-12 17:57:45 +01:00
parent 00aa8876d6
commit 5271ecce58
2 changed files with 5 additions and 5 deletions

View File

@ -9,11 +9,11 @@ version = "0.9.0-beta"
initpkg(__name__, initpkg(__name__,
description = "py lib: agile development and test support library", description = "py lib: agile development and test support library",
revision = int('$LastChangedRevision: 38595 $'.split(':')[1][:-1]), revision = int('$LastChangedRevision: 38598 $'.split(':')[1][:-1]),
lastchangedate = '$LastChangedDate: 2007-02-12 17:42:53 +0100 (Mon, 12 Feb 2007) $', lastchangedate = '$LastChangedDate: 2007-02-12 17:57:45 +0100 (Mon, 12 Feb 2007) $',
version = version, version = version,
url = "http://codespeak.net/py", url = "http://codespeak.net/py",
download_url = "http://codespeak.net/download/py/%s.tar.gz" %(version,), download_url = "http://codespeak.net/download/py/py-%s.tar.gz" %(version,),
license = "MIT license", license = "MIT license",
platforms = ['unix', 'linux', 'cygwin'], platforms = ['unix', 'linux', 'cygwin'],
author = "holger krekel, Carl Friedrich Bolz, Guido Wesdorp, Maciej Fijalkowski, Armin Rigo & others", author = "holger krekel, Carl Friedrich Bolz, Guido Wesdorp, Maciej Fijalkowski, Armin Rigo & others",

View File

@ -51,7 +51,7 @@ def make_distfiles(tmpdir):
distdir = tmpdir.ensure('dist', dir=1) distdir = tmpdir.ensure('dist', dir=1)
oldir = rootdir.chdir() oldir = rootdir.chdir()
try: try:
from py.__.misc.dist import setup from py.__.misc._dist import setup
trace("invoking sdist, generating into %s" % (distdir,)) trace("invoking sdist, generating into %s" % (distdir,))
setup(py, script_name="setup.py", setup(py, script_name="setup.py",
script_args=('-q', 'sdist', '--no-prune', script_args=('-q', 'sdist', '--no-prune',
@ -81,7 +81,7 @@ def unpackremotetar(tmpdir, strurl):
f = urllib.urlopen(strurl) f = urllib.urlopen(strurl)
basename = strurl.split('/')[-1] basename = strurl.split('/')[-1]
target = tmpdir.join(basename) target = tmpdir.join(basename)
trace("downloading to %s" %(target,)) trace("downloading %r to %s" %(strurl, target,))
target.write(f.read()) target.write(f.read())
trace("extracting to %s" %(target,)) trace("extracting to %s" %(target,))