summaryrefslogtreecommitdiff
path: root/setup.py
blob: a687f7e9608494753692509d91dec54794a6fa62 (plain)
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
#!/usr/bin/env python
import os
import re

try:
    from setuptools import setup, Extension
except ImportError:
    from distutils.core import setup, Extension


if os.path.isfile("MANIFEST"):
    os.unlink("MANIFEST")


version = re.search('__version__ = "([^"]+)"',
                    open("mocker.py").read()).group(1)

setup(
    name="mocker",
    version=version,
    description="Graceful platform for test doubles in Python (mocks, stubs, fakes, and dummies).",
    author="Gustavo Niemeyer",
    author_email="gustavo@niemeyer.net",
    maintainer="Zygmunt Krynicki",
    maintainer_email="zygmunt.krynicki@linaro.org",
    license="BSD",
    url="http://labix.org/mocker",
    download_url="https://launchpad.net/mocker/+download",
    py_modules=["mocker"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Python Software Foundation License",
        "Programming Language :: Python",
        "Topic :: Software Development :: Testing",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
)