Commit c43a9db6 authored by jim's avatar jim

Ignore more.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@81135 62d5b8a3-27da-0310-9561-8e5933582275
parent f52755a0
...@@ -11,6 +11,19 @@ priorities include: ...@@ -11,6 +11,19 @@ priorities include:
Change History Change History
************** **************
1.0.0b31 (2007-???)
=====================
Bugs Fixed
----------
- The setup command wasn't documented.
- The setup command failed if run in a directory without specifying a
configuration file.
- The setup command raised a stupid exception if run without arguments.
1.0.0b30 (2007-08-20) 1.0.0b30 (2007-08-20)
===================== =====================
......
...@@ -7,8 +7,6 @@ def read(*rnames): ...@@ -7,8 +7,6 @@ def read(*rnames):
long_description=( long_description=(
read('README.txt') read('README.txt')
+ '\n' + + '\n' +
read('CHANGES.txt')
+ '\n' +
'Detailed Documentation\n' 'Detailed Documentation\n'
'**********************\n' '**********************\n'
+ '\n' + + '\n' +
...@@ -18,6 +16,8 @@ long_description=( ...@@ -18,6 +16,8 @@ long_description=(
+ '\n' + + '\n' +
read('src', 'zc', 'buildout', 'downloadcache.txt') read('src', 'zc', 'buildout', 'downloadcache.txt')
+ '\n' + + '\n' +
read('src', 'zc', 'buildout', 'setup.txt')
+ '\n' +
read('src', 'zc', 'buildout', 'update.txt') read('src', 'zc', 'buildout', 'update.txt')
+ '\n' + + '\n' +
read('src', 'zc', 'buildout', 'debugging.txt') read('src', 'zc', 'buildout', 'debugging.txt')
...@@ -26,6 +26,8 @@ long_description=( ...@@ -26,6 +26,8 @@ long_description=(
+ '\n' + + '\n' +
read('src', 'zc', 'buildout', 'easy_install.txt') read('src', 'zc', 'buildout', 'easy_install.txt')
+ '\n' + + '\n' +
read('CHANGES.txt')
+ '\n' +
'Download\n' 'Download\n'
'**********************\n' '**********************\n'
) )
...@@ -35,7 +37,7 @@ open('doc.txt', 'w').write(long_description) ...@@ -35,7 +37,7 @@ open('doc.txt', 'w').write(long_description)
name = "zc.buildout" name = "zc.buildout"
setup( setup(
name = name, name = name,
version = "1.0.0b30", version = "1.0.0b31",
author = "Jim Fulton", author = "Jim Fulton",
author_email = "jim@zope.com", author_email = "jim@zope.com",
description = "System for managing development buildouts", description = "System for managing development buildouts",
......
...@@ -83,6 +83,11 @@ class Buildout(UserDict.DictMixin): ...@@ -83,6 +83,11 @@ class Buildout(UserDict.DictMixin):
if command == 'init': if command == 'init':
print 'Creating %r.' % config_file print 'Creating %r.' % config_file
open(config_file, 'w').write('[buildout]\nparts = \n') open(config_file, 'w').write('[buildout]\nparts = \n')
elif command == 'setup':
# Sigh. this model of a buildout nstance
# with methods is breaking down :(
config_file = None
data['buildout']['directory'] = '.'
else: else:
raise zc.buildout.UserError( raise zc.buildout.UserError(
"Couldn't open %s" % config_file) "Couldn't open %s" % config_file)
...@@ -727,7 +732,8 @@ class Buildout(UserDict.DictMixin): ...@@ -727,7 +732,8 @@ class Buildout(UserDict.DictMixin):
def setup(self, args): def setup(self, args):
if not args: if not args:
raise zc.buildout.UserError( raise zc.buildout.UserError(
"setup command expects one or more arguments.\n" "The setup command requires the path to a setup script or \n"
"directory containing a setup script, and it's arguments."
) )
setup = args.pop(0) setup = args.pop(0)
if os.path.isdir(setup): if os.path.isdir(setup):
......
...@@ -2479,7 +2479,7 @@ def test_suite(): ...@@ -2479,7 +2479,7 @@ def test_suite():
import zc.buildout.testselectingpython import zc.buildout.testselectingpython
suite = unittest.TestSuite(( suite = unittest.TestSuite((
doctest.DocFileSuite( doctest.DocFileSuite(
'buildout.txt', 'runsetup.txt', 'repeatable.txt', 'buildout.txt', 'runsetup.txt', 'repeatable.txt', 'setup.txt',
setUp=zc.buildout.testing.buildoutSetUp, setUp=zc.buildout.testing.buildoutSetUp,
tearDown=zc.buildout.testing.buildoutTearDown, tearDown=zc.buildout.testing.buildoutTearDown,
checker=renormalizing.RENormalizing([ checker=renormalizing.RENormalizing([
......
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