diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /python/mock-1.0.0/setup.py | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'python/mock-1.0.0/setup.py')
-rwxr-xr-x | python/mock-1.0.0/setup.py | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/python/mock-1.0.0/setup.py b/python/mock-1.0.0/setup.py new file mode 100755 index 000000000..7c25e8f2d --- /dev/null +++ b/python/mock-1.0.0/setup.py @@ -0,0 +1,72 @@ +#! /usr/bin/env python + +# Copyright (C) 2007-2012 Michael Foord & the mock team +# E-mail: fuzzyman AT voidspace DOT org DOT uk +# http://www.voidspace.org.uk/python/mock/ + +from mock import __version__ + +import os + + +NAME = 'mock' +MODULES = ['mock'] +DESCRIPTION = 'A Python Mocking and Patching Library for Testing' + +URL = "http://www.voidspace.org.uk/python/mock/" + +readme = os.path.join(os.path.dirname(__file__), 'README.txt') +LONG_DESCRIPTION = open(readme).read() + +CLASSIFIERS = [ + 'Development Status :: 5 - Production/Stable', + 'Environment :: Console', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 2.4', + 'Programming Language :: Python :: 2.5', + 'Programming Language :: Python :: 2.6', + 'Programming Language :: Python :: 2.7', + 'Programming Language :: Python :: 3.1', + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', + 'Programming Language :: Python :: Implementation :: Jython', + 'Operating System :: OS Independent', + 'Topic :: Software Development :: Libraries', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Software Development :: Testing', +] + +AUTHOR = 'Michael Foord' +AUTHOR_EMAIL = 'michael@voidspace.org.uk' +KEYWORDS = ("testing test mock mocking unittest patching " + "stubs fakes doubles").split(' ') + +params = dict( + name=NAME, + version=__version__, + py_modules=MODULES, + + # metadata for upload to PyPI + author=AUTHOR, + author_email=AUTHOR_EMAIL, + description=DESCRIPTION, + long_description=LONG_DESCRIPTION, + keywords=KEYWORDS, + url=URL, + classifiers=CLASSIFIERS, +) + +try: + from setuptools import setup +except ImportError: + from distutils.core import setup +else: + params['tests_require'] = ['unittest2'] + params['test_suite'] = 'unittest2.collector' + +setup(**params) |