1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
#!/usr/bin/env python
# -*- coding: latin1 -*-
from setuptools import setup
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
setup(name="pytools",
version="2014.3",
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',
],
install_requires=[
"decorator>=3.2.0",
"appdirs>=1.4.0",
],
author="Andreas Kloeckner",
url="http://pypi.python.org/pypi/pytools",
author_email="inform@tiker.net",
license="MIT",
packages=["pytools"],
# 2to3 invocation
cmdclass={'build_py': build_py})
|