Newer
Older
Andreas Klöckner
committed
#!/usr/bin/env python
Andreas Klöckner
committed
# -*- coding: latin1 -*-
Andreas Klöckner
committed
import distribute_setup
distribute_setup.use_setuptools()
Andreas Klöckner
committed
try:
from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
# 2.x
from distutils.command.build_py import build_py
Andreas Klöckner
committed
setup(name="pytools",
version="2011.1",
Andreas Klöckner
committed
description="A collection of tools for Python",
long_description="""
Pytools is a big bag of things that are "missing" from the Python standard
library. This is mainly a dependency of my other software packages, and is
probably of little interest to you unless you use those. If you're curious
nonetheless, here's what's on offer:
* A ton of small tool functions such as `len_iterable`, `argmin`,
tuple generation, permutation generation, ASCII table pretty printing,
GvR's mokeypatch_xxx() hack, the elusive `flatten`, and much more.
* Michele Simionato's decorator module
* A time-series logging module, `pytools.log`.
* Batch job submission, `pytools.batchjob`.
* A lexer, `pytools.lex`.
""",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
],
Andreas Klöckner
committed
author_email="inform@tiker.net",
Andreas Klöckner
committed
packages=["pytools"],
# 2to3 invocation
cmdclass={'build_py': build_py})