Skip to content
setup.py 2.01 KiB
Newer Older
Andreas Klöckner's avatar
Andreas Klöckner committed
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

Andreas Klöckner's avatar
Andreas Klöckner committed
      version="2014.3.1",
      description="A collection of tools for Python",
Andreas Klöckner's avatar
Andreas Klöckner committed
      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:

Andreas Klöckner's avatar
Andreas Klöckner committed
      * A ton of small tool functions such as `len_iterable`, `argmin`,
Andreas Klöckner's avatar
Andreas Klöckner committed
        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`.
      """,
Andreas Klöckner's avatar
Andreas Klöckner committed
      classifiers=[
Andreas Klöckner's avatar
Andreas Klöckner committed
          '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"
          ],

      author="Andreas Kloeckner",
Andreas Klöckner's avatar
Andreas Klöckner committed
      url="http://pypi.python.org/pypi/pytools",
Andreas Klöckner's avatar
Andreas Klöckner committed
      license="MIT",

      # 2to3 invocation
      cmdclass={'build_py': build_py})