forked from hellysmile/django-mongo-sessions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
60 lines (52 loc) · 1.57 KB
/
Copy pathsetup.py
File metadata and controls
60 lines (52 loc) · 1.57 KB
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
from setuptools import setup
classifiers = '''\
Framework :: Django
Environment :: Web Environment
Intended Audience :: Developers
Topic :: Internet :: WWW/HTTP
License :: OSI Approved :: Apache Software License
Development Status :: 5 - Production/Stable
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.5
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.3
Programming Language :: Python :: Implementation :: CPython
Programming Language :: Python :: Implementation :: PyPy
Operating System :: MacOS :: MacOS X
Operating System :: Microsoft :: Windows
Operating System :: POSIX
Operating System :: Unix
'''
description = 'mongodb as Django sessions backend'
packages = ['mongo_sessions']
# no codecs\with for python 2.5
def long_description():
f = open('README.rst')
rst = f.read()
f.close()
return rst
setup(
name='django-mongo-sessions',
version='0.0.4',
packages=packages,
description=description,
long_description=long_description(),
author='hellysmile',
author_email='[email protected]',
url='https://github.com/hellysmile/django-mongo-sessions',
zip_safe=False,
install_requires=[
'django >= 1.4',
'pymongo >= 2.4.2'
],
license='http://www.apache.org/licenses/LICENSE-2.0',
classifiers=filter(None, classifiers.split('\n')),
keywords=[
"django", "mongo", "sessions"
]
)