-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
54 lines (41 loc) · 1.37 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
#
# setup.py
#
import sys
from setuptools import setup, find_packages
install_requires = ['growler', 'asyncio_mongo']
long_description = """
Growler middleware implementing sesison storage using a MongoDB database backend.
To use, import this module, create your app, connect to a database, and tell the
app to 'use' a MongoSession object created with your settings.
import growler
import GrowlerMongoSession
import asyncio_mongo
db = asyncio_mongo.createConnection(...)
app = growler.App(...)
...
app.use(GrowlerMongoSession(db, session_config))
"""
setup(
name= "GrowlerMongoSession",
version= "0.0.1",
author= "Andrew Kubera",
license= "Apache v2.0",
url= "https://github.com/pyGrowler/MongoSession",
author_email= "andrew.kubera@gmail.com",
description= "Growler middleware implementing sesison storage using a MongoDB database backend.",
long_description= long_description,
classifiers= [
"Development Status :: 2 - Pre-Alpha",
# "Framework :: Growler",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Database",
"Natural Language :: English"
],
install_requires = install_requires,
packages= find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
)