-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
36 lines (28 loc) · 1.05 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
#!/usr/bin/env python
from distutils.core import setup
VERSION = '1.0.0'
DESCRIPTION = "Django persistent database connection for Postgresql (psycopg2)"
LONG_DESCRIPTION = """
Small custom psycopg2 backend that implements persistent connection using global variable (threadsafe)
http://stackoverflow.com/questions/1125504/django-persistent-database-connection/1351213#1351213
"""
CLASSIFIERS = filter(None, map(str.strip,
"""
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Database :: Front-Ends
Topic :: Software Development :: Libraries :: Python Modules
""".splitlines()))
setup(
name="postgresql_psycopg2_persistent",
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
classifiers=CLASSIFIERS,
author="HardQuestions@Stackoverflow",
url="http://stackoverflow.com/questions/1125504/django-persistent-database-connection/1351213#1351213",
license="GPL",
packages=['postgresql_psycopg2_persistent'],
platforms=['any'],
)