options /

Full commit
Jonathan Eunice 75a8c49 

Jonathan Eunice ed475c7 
Jonathan Eunice 75a8c49 

Jonathan Eunice 88087f6 
Jonathan Eunice 75a8c49 

#! /usr/bin/env python

from setuptools import setup
from decimal import Decimal
import re

def linelist(text):
    Returns each non-blank line in text enclosed in a list.
    return [ l.strip() for l in text.strip().splitlines() if l.split() ]
    # The double-mention of l.strip() is yet another fine example of why
    # Python needs en passant aliasing.

def verno(s):
    Update the version number passed in by extending it to the 
    thousands place and adding 1/1000, then returning that result
    and as a side-effect updating

    Dangerous, self-modifying, and also, helps keep version numbers
    ascending without human intervention.
    d = Decimal(s)
    increment = Decimal('0.001')
    d = d.quantize(increment) + increment
    dstr = str(d)
    setup = open('', 'r').read()
    setup = re.sub('verno\(\w*[\'"]([\d\.]+)[\'"]', 'verno("' + dstr + '"', setup)
    open('', 'w').write(setup)
    return dstr

    author='Jonathan Eunice',
    description='Container for flexible class, instance, and function call options',
    py_modules=['options', 'nulltype'],
    install_requires=['stuf', 'otherstuf', 'six'],
        Development Status :: 3 - Alpha
        Operating System :: OS Independent
        License :: OSI Approved :: BSD License
        Intended Audience :: Developers
        Programming Language :: Python
        Topic :: Software Development :: Libraries :: Python Modules