[svn r37699] removing py._dist export (only accessed from setup.py
and py/bin/_makepyrelease.py) --HG-- branch : trunk
This commit is contained in:
parent
dbb88cdb75
commit
ba2dcf16bd
|
@ -9,8 +9,8 @@ version = "0.8.80-alpha2"
|
|||
|
||||
initpkg(__name__,
|
||||
description = "py.test and the py lib",
|
||||
revision = int('$LastChangedRevision: 37696 $'.split(':')[1][:-1]),
|
||||
lastchangedate = '$LastChangedDate: 2007-01-31 22:55:30 +0100 (Wed, 31 Jan 2007) $',
|
||||
revision = int('$LastChangedRevision: 37699 $'.split(':')[1][:-1]),
|
||||
lastchangedate = '$LastChangedDate: 2007-01-31 23:23:24 +0100 (Wed, 31 Jan 2007) $',
|
||||
version = version,
|
||||
url = "http://codespeak.net/py",
|
||||
download_url = "http://codespeak.net/download/py/%s.tar.gz" %(version,),
|
||||
|
@ -21,8 +21,6 @@ initpkg(__name__,
|
|||
long_description = globals()['__doc__'],
|
||||
|
||||
exportdefs = {
|
||||
'_dist.setup' : ('./misc/_dist.py', 'setup'),
|
||||
|
||||
# helpers for use from test functions or collectors
|
||||
'test.raises' : ('./test/raises.py', 'raises'),
|
||||
'test.deprecated_call' : ('./test/deprecate.py', 'deprecated_call'),
|
||||
|
|
|
@ -51,16 +51,17 @@ def make_distfiles(tmpdir):
|
|||
distdir = tmpdir.ensure('dist', dir=1)
|
||||
oldir = rootdir.chdir()
|
||||
try:
|
||||
from py.__.misc.dist import setup
|
||||
trace("invoking sdist, generating into %s" % (distdir,))
|
||||
py._dist.setup(py, script_name="setup.py",
|
||||
script_args=('-q', 'sdist', '--no-prune',
|
||||
'-m', str(manifest),
|
||||
'--formats=gztar,zip',
|
||||
'-d', str(distdir)))
|
||||
py._dist.setup(py, script_name="setup.py",
|
||||
script_args=('-q', 'bdist_wininst',
|
||||
#'-m', str(manifest),
|
||||
'-d', str(distdir)))
|
||||
setup(py, script_name="setup.py",
|
||||
script_args=('-q', 'sdist', '--no-prune',
|
||||
'-m', str(manifest),
|
||||
'--formats=gztar,zip',
|
||||
'-d', str(distdir)))
|
||||
setup(py, script_name="setup.py",
|
||||
script_args=('-q', 'bdist_wininst',
|
||||
#'-m', str(manifest),
|
||||
'-d', str(distdir)))
|
||||
finally:
|
||||
oldir.chdir()
|
||||
return distdir
|
||||
|
|
Loading…
Reference in New Issue