setup.py @ 2cc19f841df2

Die if there are any newlines inside the task text

The `t` file format is line-based, so newlines break the file format.  We'd have
to escape them or something, but that opens a whole can of worms, and `t` is
supposed to be simple, so we'll just forbid them.

Fixes https://github.com/sjl/t/issues/26
author Steve Losh <steve@stevelosh.com>
date Sat, 11 Apr 2020 11:23:45 -0400
parents 452a9a9cba0a
children (none)
try:
    from setuptools import setup
except:
    from distutils.core import setup

setup(
    name='t',
    version='1.2.0',
    author='Steve Losh',
    author_email='steve@stevelosh.com',
    url='https://hg.stevelosh.com/t',
    py_modules=['t'],
    entry_points={
        'console_scripts': [
            't = t:_main',
        ],
    },
)