forked from jneight/django-db-geventpool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (37 loc) · 1.19 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
# coding=utf-8
import codecs
from setuptools import setup, find_packages
def long_description():
try:
with codecs.open('README.rst', 'r', 'utf-8') as f:
return f.read()
except:
return 'Error loading README.rst'
setup(
name='django-db-geventpool',
version='4.0.0',
install_requires=[
'django>=3.1',
'psycogreen>=1.0',
],
url='https://github.com/jneight/django-db-geventpool',
description='Add a DB connection pool using gevent to django',
long_description=long_description(),
long_description_content_type='text/x-rst',
packages=find_packages(),
include_package_data=True,
license='Apache 2.0',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Application Frameworks',
],
author='Javier Cordero Martinez',
author_email='[email protected]'
)