-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·47 lines (42 loc) · 1.22 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
45
46
47
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == "publish":
os.system("python setup.py sdist upload")
sys.exit()
setup(
name='nose-django-querycount',
version='0.3',
author="Dmitry Gladkov",
author_email='[email protected]',
url='https://github.com/dgladkov/nose-django-querycount',
description='Nose plugin for counting queries in Django tests',
long_description=open('README.md').read(),
packages=['nosequerycount'],
zip_safe=False,
install_requires=[
'django',
'nose',
],
test_suite="nose.collector",
include_package_data=True,
entry_points={
'nose.plugins.0.10': [
'querycount = nosequerycount.plugin:DjangoQueryCountPlugin',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development'
],
keywords='test unittest nosetests nose plugin django queries querycount',
)