forked from bwmcadams/mongodb_beaker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
51 lines (48 loc) · 1.55 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
#
# Copyright (c) 2009-2011 Brendan W. McAdams <[email protected]>
#
try:
from setuptools import setup, find_packages
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name = 'mongodb_beaker',
version = '0.5',
description = 'Beaker backend to write sessions and caches to a ' +\
'MongoDB schemaless database.',
long_description = '\n' + open('README.rst').read(),
author='Brendan W. McAdams',
author_email = '[email protected]',
keywords = 'mongo mongodb beaker cache session',
license = 'New BSD License',
url = 'http://github.com/bwmcadams/mongodb_beaker/',
tests_require = ['nose', 'webtest'],
test_suite='nose.collector',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Database',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages = find_packages(),
include_package_data=True,
zip_safe = True,
entry_points="""
[beaker.backends]
mongodb = mongodb_beaker:MongoDBNamespaceManager
""",
requires=['pymongo', 'beaker'],
install_requires = [
'pymongo>=1.9',
'beaker>=1.5'
]
)