# HG changeset patch # User Jeff Hammel # Date 1365367889 25200 # Node ID b8be785f8e87e1f2d348631406b0d4640adfcff1 # Parent 6aafed869664cd33a126d311900a8c053ec669d3 lets pretend that were dead...er, doing something diff -r 6aafed869664 -r b8be785f8e87 README.txt --- a/README.txt Sun Apr 07 03:29:48 2013 -0700 +++ b/README.txt Sun Apr 07 13:51:29 2013 -0700 @@ -6,6 +6,13 @@ As risen from the stillborn ashes: http://k0s.org/mozilla/hg/MozbaseWorkflow/ + +Potential Uses +-------------- + +* dependency somethin somethin' + + Links ----- @@ -20,11 +27,20 @@ * https://pypi.python.org/pypi/fysom pYthOn Finite State Machine +* https://pypi.python.org/pypi/workflow/1.01 + Simple workflows for Python; + Not sure if this is really what's needed. And....1.01??? -Potential Uses --------------- +* https://pypi.python.org/pypi/xworkflows + A library implementing workflows (or state machines) for Python projects. + -* dependency somethin somethin' +State Machines: + +Workflow == state machines, so an understanding from either +perspective is the same apropos the other. + +* http://en.wikipedia.org/wiki/Finite-state_machine ---- diff -r 6aafed869664 -r b8be785f8e87 intentmademanifest/api.py --- a/intentmademanifest/api.py Sun Apr 07 03:29:48 2013 -0700 +++ b/intentmademanifest/api.py Sun Apr 07 13:51:29 2013 -0700 @@ -21,5 +21,17 @@ def state(self): """ - current state + current state; + returns the current state object """ + +class State(object): + """a state""" + + def __init__(self, *transitions): + + def available(): + """avalable transitions""" + + def transit(): + """invoke a transition""" diff -r 6aafed869664 -r b8be785f8e87 setup.py --- a/setup.py Sun Apr 07 03:29:48 2013 -0700 +++ b/setup.py Sun Apr 07 13:51:29 2013 -0700 @@ -5,7 +5,7 @@ import os version = "0.0" -dependencies = ['MakeItSo', 'webob'] +dependencies = [] # allow use of setuptools/distribute or distutils kw = {}