diff --git a/ABOUT_CEMENT2 b/ABOUT_CEMENT2 deleted file mode 100644 index 1b630cd8..00000000 --- a/ABOUT_CEMENT2 +++ /dev/null @@ -1,53 +0,0 @@ -In cement2, everything is broken out into handlers... such as: - - log_handler - option_handler - config_handler - output_handler - command_handler - extension_handler - plugin_handler - etc - - -A handler is an implementation of a 'handler interface'... for example -IConfigHandler is an interface that defines what a config handler must -implement. The, ConfigParserConfigHandler is the default which implements the -interface using the standard ConfigParser library. I can then write a -framework extension for ConfigObj (which I prefer, but has an external dep on -configobj)... where ConfigObjConfigHandler implements the same interface, and -to the framework does exactly the same thing though in my app I can access the -extra ConfigObj features like calling my config objects as a dict, and so on. - -I have not yet written the interfaces or the handlers for option parsing, and -command dispatch... but those are the last two things before you can really -start using and testing cement2 beta. I'll be writing two extension for -option parsing... one for ArgParseOptionHandler and the other for -OptParseOptionHandler. That said, if you're anxious to see it (no docs, or -anything) its available in the 'portland' branch: - -https://github.com/derks/cement/tree/portland/src/ - - -cement2 is the core library, and cement2.ext.XXXXXX are framework extensions -that implement different handlers... configobj is the primary extension that -I would reference as it is complete and the others not so much. Additionally, -there is a test.py in there that might help: - -https://github.com/derks/cement/blob/portland/src/cement2/test.py - - -Some things I need to do still: - - Write option and command dispatch interfaces and handlers - Figure out application 'plugin' support - Write the documentation - Write cement2.devtools which pastes a functional, working app from template. - Ensure Python 3 compatibility - - -One of my goals for cement2 was that you could do everything from one file -(a script) the same as you can from a full blown MVC app (like cement 0.8 -does now). I haven't gotten to that yet... just testing things out of one -file so far and focussing on nosetest coverage. - diff --git a/ChangeLog b/ChangeLog index eea7a40e..75d9dd9b 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,23 +10,15 @@ All bugs/feature details can be found at: Where XXXXX is the 'Issue #' referenced below. Additionally, this change log is available online at: - http://builtoncement.org/cement/0.9/doc/changes.html + http://cement.readthedocs.org/en/portland/changes/ .. raw:: html

-0.9.1 - development (will be released as 0.9.2) +1.9.2 - Wed Nov 02, 2011 ------------------------------------------------------------------------------ -Bug Fixes -^^^^^^^^^ - - - None - - -Feature Enhancements -^^^^^^^^^^^^^^^^^^^^ - - - None +This is an initial beta release of Cement2, and therefore no bugs or features +are listed. Future releases will detail all changes. \ No newline at end of file diff --git a/doc/source/conf.py b/doc/source/conf.py index 0f5eff25..69d7f465 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -11,6 +11,9 @@ # All configuration values have a default; values that are commented out # serve to show the default. +VERSION = '1.9' +RELEASE = '1.9.2' + import sys, os sys.path.insert(0, os.path.abspath('../../src/cement2/')) @@ -58,9 +61,10 @@ copyright = u'2011, BJ Dierkes' # built documents. # # The short X.Y version. -version = '1.9.1' +version = VERSION + # The full version, including alpha/beta/rc tags. -release = '1.9.1' +release = RELEASE # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/source/dev/hooks.rst b/doc/source/dev/hooks.rst index 3e344712..b3dc5976 100644 --- a/doc/source/dev/hooks.rst +++ b/doc/source/dev/hooks.rst @@ -196,7 +196,7 @@ Cement Framework Hooks Cement has a number of hooks that tie into the framework. cement_setup_hook -^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^ Run when CementApp.setup() is called. No arguments are passed to this hook, and nothing is expected in return. diff --git a/src/cement2.ext.configobj/cement2/__init__.py b/src/cement2.ext.configobj/cement2/__init__.py index e69de29b..b0d64337 100644 --- a/src/cement2.ext.configobj/cement2/__init__.py +++ b/src/cement2.ext.configobj/cement2/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) \ No newline at end of file diff --git a/src/cement2.ext.configobj/setup.py b/src/cement2.ext.configobj/setup.py index 2633ede1..9386a3fa 100644 --- a/src/cement2.ext.configobj/setup.py +++ b/src/cement2.ext.configobj/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages import sys, os -VERSION = '1.9.1' +VERSION = '1.9.2' LONG = """ Cement is an advanced CLI Application Framework for Python. This package diff --git a/src/cement2.ext.json/cement2/__init__.py b/src/cement2.ext.json/cement2/__init__.py index e69de29b..b0d64337 100644 --- a/src/cement2.ext.json/cement2/__init__.py +++ b/src/cement2.ext.json/cement2/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) \ No newline at end of file diff --git a/src/cement2.ext.json/setup.py b/src/cement2.ext.json/setup.py index 156735eb..02e42463 100644 --- a/src/cement2.ext.json/setup.py +++ b/src/cement2.ext.json/setup.py @@ -4,7 +4,7 @@ from setuptools import setup, find_packages import sys, os -VERSION = '1.9.1' +VERSION = '1.9.2' LONG = """ Cement is an advanced CLI Application Framework for Python. This package diff --git a/src/cement2.ext.yaml/cement2/__init__.py b/src/cement2.ext.yaml/cement2/__init__.py index e69de29b..b0d64337 100644 --- a/src/cement2.ext.yaml/cement2/__init__.py +++ b/src/cement2.ext.yaml/cement2/__init__.py @@ -0,0 +1 @@ +__import__('pkg_resources').declare_namespace(__name__) \ No newline at end of file diff --git a/src/cement2.ext.yaml/setup.py b/src/cement2.ext.yaml/setup.py index 016ed4aa..f90484b4 100644 --- a/src/cement2.ext.yaml/setup.py +++ b/src/cement2.ext.yaml/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import sys, os -VERSION = '1.9.1' +VERSION = '1.9.2' LONG = """ Cement is an advanced CLI Application Framework for Python. This package diff --git a/src/cement2/setup.py b/src/cement2/setup.py index 118ffed5..9600e1a4 100644 --- a/src/cement2/setup.py +++ b/src/cement2/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages import sys, os -VERSION = '1.9.1' +VERSION = '1.9.2' LONG = """ Cement2 is an advanced CLI Application Framework for Python. This package diff --git a/utils/gen_changelog.sh b/utils/gen_changelog.sh deleted file mode 100755 index 859ae158..00000000 --- a/utils/gen_changelog.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -previous=$(git describe | awk -F '-' {' print $1 '}) -version=$(python -c "from pkg_resources import get_distribution ; print get_distribution('cement').version") -date=$(date) -tmpfile=$(mktemp /tmp/cementXXXXX) -status=$(git status --porcelain) - -if [ "${status}" != "" ]; then - echo - echo "WARNING: not all changes committed" -fi - -changes=$(git --no-pager log --pretty=" - %s [%h]" ${previous}..) -cat < ${dir}/downloads/cement-${version}.tar.gz +git archive HEAD --prefix=cement2-${version}/ | gzip > ${dir}/downloads/cement2-${version}.tar.gz # individual -for i in cement cement.devtools cement.test; do +for i in cement2 cement2.ext.configobj cement2.ext.json cement2.ext.yaml; do pushd src/$i git archive HEAD --prefix=${i}-${version}/ | gzip > ${dir}/pypi/${i}-${version}.tar.gz popd