-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathsetup.py
44 lines (39 loc) · 1.4 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
35
36
37
38
39
40
41
42
43
44
import os
from setuptools import setup, find_packages # FIXME
PARAMS = {}
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
]
KEYWORDS = ['unittest', 'testing', 'tests', 'django']
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
PARAMS['packages'] = 'djnose2'
else:
PARAMS['packages'] = find_packages()
PARAMS['install_requires'] = ['Django>=1.2,', 'nose2>=0.3']
setup(
name='django-nose2',
author='Jason Pellerin',
author_email='[email protected]',
version='0.1.1',
url='https://github.com/jpellerin/django-nose2',
description='Test runner for django that runs tests with nose2',
long_description=README,
**PARAMS
)