Skip to content
Snippets Groups Projects
setup.py 1.11 KiB
Newer Older
fuzzyman's avatar
fuzzyman committed
#! /usr/bin/python

fuzzyman's avatar
fuzzyman committed
# Copyright (C) 2007-2010 Michael Foord
fuzzyman's avatar
fuzzyman committed
# E-mail: fuzzyman AT voidspace DOT org DOT uk
fuzzyman's avatar
fuzzyman committed
# http://www.voidspace.org.uk/python/mock/
fuzzyman's avatar
fuzzyman committed

from textwrap import dedent
fuzzyman's avatar
fuzzyman committed
from mock import __version__

fuzzyman's avatar
fuzzyman committed
from distutils.core import setup

fuzzyman's avatar
fuzzyman committed
setup(
    name = "mock",
    version = __version__,
    py_modules = ['mock'],
    
    # metadata for upload to PyPI
    author = "Michael Foord",
    author_email = "fuzzyman@voidspace.org.uk",
fuzzyman's avatar
fuzzyman committed
    description = "A Python mock object library",
    long_description = dedent("""\
fuzzyman's avatar
fuzzyman committed
    Mock is a flexible mock object intended to replace the use of stubs and test doubles 
    throughout your code. Mocks are callable and create attributes as new mocks when you 
    access them. Accessing the same attribute will always return the same mock. Mocks 
    record how you use them, allowing you to make assertions about what your code has 
    done to them."""),
fuzzyman's avatar
fuzzyman committed
    license = "BSD",
    keywords = "testing test mock mocking unittest patching stubs",
fuzzyman's avatar
fuzzyman committed
    url = "http://www.voidspace.org.uk/python/mock/",
fuzzyman's avatar
fuzzyman committed
    download_url = 'http://www.voidspace.org.uk/downloads/mock-%s.zip' % __version__,
fuzzyman's avatar
fuzzyman committed

)