forked from pytest-dev/pytest-django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·34 lines (30 loc) · 1.23 KB
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='pytest-django',
version='1.3.2',
description='A Django plugin for py.test.',
author='Andreas Pelme',
author_email='andreas@pelme.se',
maintainer="Andreas Pelme",
maintainer_email="andreas@pelme.se",
url='http://pytest-django.readthedocs.org/',
packages=['pytest_django'],
long_description=read('README.rst'),
classifiers=['Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing'],
# the following makes a plugin available to py.test
entry_points={'pytest11': ['django = pytest_django']})