say /

Jonathan Eunice f33c61e 

Jonathan Eunice 9dfd52e 
Jonathan Eunice f33c61e 

Jonathan Eunice 30b7014 
Jonathan Eunice f33c61e 

Jonathan Eunice 30b7014 
Jonathan Eunice f33c61e 
Jonathan Eunice 48db2f8 
Jonathan Eunice c354679 
Jonathan Eunice 30b7014 
Jonathan Eunice ea1a709 
Jonathan Eunice bb68e3c 
Jonathan Eunice ea1a709 
Jonathan Eunice f33c61e 
Jonathan Eunice d188529 
Jonathan Eunice f33c61e 

Jonathan Eunice 9dfd52e 

Jonathan Eunice ea1a709 
Jonathan Eunice 100edc8 

Jonathan Eunice 9641521 

Jonathan Eunice f33c61e 
Jonathan Eunice ea1a709 
Jonathan Eunice f33c61e 
#! /usr/bin/env python
from setuptools import setup
import sys

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.
    from decimal import Decimal
    import re
    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

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.

    author='Jonathan Eunice',
    description='Super-simple templated printing. E.g.: say("Hello, {whoever}!", indent=1)',
    install_requires=['six', 'options>=0.4', 'stuf>=0.9.10'],
    tests_require = ['tox', 'pytest', 'six'],
    zip_safe = True,
    keywords='print format template interpolate say show',
        Development Status :: 4 - Beta
        Operating System :: OS Independent
        License :: OSI Approved :: BSD License
        Intended Audience :: Developers
        Programming Language :: Python
        Programming Language :: Python :: 2.6
        Programming Language :: Python :: 2.7
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3.2
        Programming Language :: Python :: 3.3
        Programming Language :: Python :: Implementation :: CPython
        Programming Language :: Python :: Implementation :: PyPy
        Topic :: Software Development :: Libraries :: Python Modules
        Topic :: Printing