forked from django-pylibmc/django-pylibmc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (53 loc) · 1.91 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
52
53
54
55
56
57
58
59
60
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)
long_description = "\n".join(
[open(f).read() for f in ['README.rst', 'CHANGELOG.rst']])
setup(
name='django-pylibmc',
version=django_pylibmc.__version__,
description='Django cache backend using pylibmc',
long_description=long_description,
author='Jeff Balogh',
author_email='[email protected]',
url='https://github.com/django-pylibmc/django-pylibmc',
license='BSD',
packages=['django_pylibmc'],
include_package_data=True,
zip_safe=False,
install_requires=['pylibmc>=1.4.1'],
tests_require=['tox'],
cmdclass = {'test': Tox},
keywords = 'django cache pylibmc memcached',
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',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Framework :: Django :: 1.10',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)