-
Notifications
You must be signed in to change notification settings - Fork 27
/
setup.py
51 lines (47 loc) · 1.43 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
48
49
50
51
#!/usr/bin/env python
from sys import exit
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
errno = tox.cmdline(self.test_args)
exit(errno)
setup(
name='django-memcache-status',
version='1.3',
description='A django application that displays the load and some other '
'statistics about your memcached instances in the admin.',
long_description=open('README.rst').read(),
author='Martin Mahner',
author_email='martin@mahner.org',
url='http://github.com/bartTC/django-memcache-status',
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
zip_safe=False,
install_requires=[
'six',
'django>=1.8',
'python-memcached>=1.57',
],
tests_require=[
'tox>=2.0',
],
cmdclass={
'test': Tox
},
)