forked from mongodb/flask-pymongo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
68 lines (56 loc) · 2.23 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
61
62
63
64
65
66
67
68
"""
Flask-PyMongo
-------------
PyMongo support for Flask applications.
Installation
============
Flask-PyMongo is pip-installable:
pip install Flask-PyMongo
You can install the latest development snapshot like so:
pip install http://github.com/dcrosta/flask-pymongo/tarball/master#egg=Flask-PyMongo-dev
Upgrading
~~~~~~~~~
- Version 0.2.0 introduced a dependency on PyMongo version 2.4 or later, and
introduced some potential backwards-breaking changes. Please review the
`Changelog <http://flask-pymongo.readthedocs.org/en/latest/#history-and-contributors>`_
carefully before upgrading.
- Version 0.3.0 removed the `ReadPreference
<http://api.mongodb.org/python/current/api/pymongo/index.html#pymongo.read_preferences.ReadPreference>`_
redefinitions in ``flask_pymongo``, in favor of using the constants directly
from `PyMongo <http://api.mongodb.org/python/current/>`_. Please review the
`Changelog <http://flask-pymongo.readthedocs.org/en/latest/#history-and-contributors>`_
carefully before upgrading.
Development
===========
Source code is hosted in `GitHub <https://github.com/dcrosta/flask-pymongo>`_
(contributions are welcome!)
"""
from setuptools import find_packages, setup
setup(
name='Flask-PyMongo',
version='0.4.1',
url='http://flask-pymongo.readthedocs.org/',
download_url='https://github.com/dcrosta/flask-pymongo/tags',
license='BSD',
author='Dan Crosta',
author_email='[email protected]',
description='PyMongo support for Flask applications',
long_description=__doc__,
zip_safe=False,
platforms='any',
packages=find_packages(),
install_requires=[line.strip() for line in open("requirements.txt")],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)