-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
35 lines (32 loc) · 1010 Bytes
/
setup.py
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
import os
import sys
from setuptools import setup, find_packages
milkman = __import__("milkman")
readme_file = os.path.join(os.path.dirname(__file__), "docs/index.txt")
try:
long_description = open(readme_file).read()
except IOError as err:
sys.stderr.write("[ERROR] Cannot find file specified as "
"``long_description`` (%s)\n" % readme_file)
sys.exit(1)
if sys.version_info >= (3,):
extra_kwargs = {"use_2to3": True}
else:
extra_kwargs = {}
setup(
name="milkman",
version=milkman.get_version(),
description="Testing Django without all the fixtures",
long_description=long_description,
author="Wilkes Joiner, Chuck Collins, Patrick Altman",
author_email="[email protected]",
license="BSD",
url="http://github.com/ccollins/milkman/",
keywords="django testing mock stub",
packages=find_packages(exclude=["tests.*", "tests"]),
include_package_data=True,
install_requires=[
"docutils>=0.3",
],
zip_safe=False,
)