forked from django-pylibmc/django-pylibmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
48 lines (42 loc) · 1.44 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
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
import django_pylibmc
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)
sys.exit(errno)
setup(
name='django-pylibmc',
version=django_pylibmc.__version__,
description='Django cache backend using pylibmc',
long_description=open('README.rst').read(),
author='Jeff Balogh',
author_email='[email protected]',
url='http://github.com/jbalogh/django-pylibmc',
license='BSD',
packages=['django_pylibmc'],
include_package_data=True,
zip_safe=False,
install_requires=['pylibmc>=1.1', 'Django>=1.2'],
tests_require=['tox'],
cmdclass = {'test': Tox},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
# I don't know what exactly this means, but why not?
'Environment :: Web Environment :: Mozilla',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)