File: setup.py

package info (click to toggle)
python-functools32 3.2.3.2-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 204 kB
  • sloc: python: 1,822; makefile: 28; sh: 4
file content (31 lines) | stat: -rwxr-xr-x 833 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/python

import sys
from distutils.core import setup


def main():
    if not (3,) > sys.version_info >= (2, 7):
        sys.stderr.write('This backport is for Python 2.7 only.\n')
        sys.exit(1)

    setup(
      name='functools32',
      version='3.2.3-2',
      description='Backport of the functools module from Python 3.2.3 for use on 2.7 and PyPy.',
      long_description="""
This is a backport of the functools standard library module from
Python 3.2.3 for use on Python 2.7 and PyPy. It includes
new features `lru_cache` (Least-recently-used cache decorator).""",
      license='PSF license',

      maintainer='ENDOH takanao',
      maintainer_email='djmchl@gmail.com',
      url='https://github.com/MiCHiLU/python-functools32',

      packages=['functools32'],
    )


if __name__ == '__main__':
    main()