forked from Xof/django-pglocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·39 lines (35 loc) · 1.09 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
#!/usr/bin/env python
from distutils.core import setup
import django_pglocks
def get_long_description():
"""
Return the contents of the README file.
"""
try:
return open('README.rst').read()
except:
pass # Required to install using pip (won't have README then)
setup(
name = 'django-pglocks',
version = django_pglocks.__version__,
description = "django_pglocks provides useful context managers for advisory locks for PostgreSQL.",
long_description = get_long_description(),
author = "Christophe Pettus",
author_email = "[email protected]",
license = "MIT",
url = "https://github.com/Xof/django-pglocks",
packages = [
'django_pglocks',
],
package_data = {
'facetools': ['templates/facetools/facebook_redirect.html'],
},
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development',
]
)